Login Register

dojo

why doesn't grid.rowHeightChanged(rowNum) work? Any alternatives?

I extended the subgrids test example to include a third "level" in the subgrid. So I have grid like this:
Grid with rows that contain grids, and those grids contain grids.

When I "toggle" to expand the second level grid (thus making is bigger), I do this:
subGrid.updateRow(inIndex);
grid.rowHeightChanged(parentRow);

Loading Dojo in application IFRAME

I have this scenario...

My application based on TAB that in every TAB I load a IFRAME.
In every IFRAME there are a complex form that I have rendering with dojo widget and other function ( I have create a Upload control for example)

My question is:

"Every time that I load the IFRAME ...in the console of Firebug I see that dojo.js and my custom dojo.require js are loaded and this operation it's no fast.."

dojo and deployJava.js IE problems

Hi,
When I use deployJava.js (http://java.com/js/deployJava.js),http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html with dojo, doesnt" doesn't work on IE. I get a java.lang.NoSuch..Exception dojoType . To repoduce it, includes in any dojo example:

 

var attributes = {codebase:'http://java.sun.com/products/plugin/1.5.0/demos/jfc/Java2D',
code:'java2d.Java2DemoApplet.class',
archive:'Java2Demo.jar',

in onBeforeRow, I need to know what grid I am building. need grid id, or grid object

I am extending the subgrids example, and in the onBeforeRow, I need to know the grid that I am building. The "this" object is a view. I was hoping from the view I could somehow access the grid but I can't find a way to.

What I really want to do is something like this:

function buildSubgrid(inRowIndex, inCell) {
...
subGrid['info'] = "data";
subGrid.render();
...
}

and, in the onBeforeRow: access data. In onBeforeRow I also tried this.getCell(0,0).grid['info'] but it seems that the cells are undefined.

querying a mysql db?

I'm working on a project where I'm wanting to have the user click on a link which will run a select query on my mysql db and trigger a lightbox affect with the results of the db query in the new div. I've spent the last several hours trying to learn my way around Dojo and I'm not seeing a function to perform a db query.

Can someone point me in the right direction?

tia,
jeremy

Is it not possible to pass dojo.query a nodelist???

Is it not possible to pass dojo.query a nodelist so I can do some chaining? The api seems to suggest that it is. I have to use Dojo 1.0.2 is that the problem?

d.query(new d.NodeList(node1, node2))
    .style("opacity", "0")
    .style("display", "none");

If I go old school it works... but I'd rather be new and flashy if I can

d.style(node1, "opacity", "0");
d.style(node1, "display", "none"); 
etc...

dnd - no item in target

Hi everyone,

I was just wondering if it is possible to have a drag'n drop target without displaying the source-items on it. To be more specific:

I have a list of images and a list of folders. Now I wanted to take some images and drop them on the folders - an xhr-request is performed and thats it. There is no need for the images to be displayed. In fact, thats senseless :)

Actually, I'm performing this action with prototype, which works fine, but I have to grab more images at once.

So I there any option to disable this function? Didn't find anything in the API nor on dojocampus.

Dojo and Safari Issue

Hello,
I have an issue with dojo and safari 3.1 on windows. When i set the isDebug to true on djConfig I get "Undefined Value : .../1.1.1/dojo/dojo/_firebug/firebug.xd.js (line 12)" in the debugging error console - when i set debug to false i now get errors in using console.debug. Has anyone had any issues with this - and are there any fixes?

dijit.Editor output problem ...and IE7

Hi,
I use dojo 1.2.0 and today I have testing dijit.Editor.
I insert into a <DIV> the widget...and I see that there are some problem i IE7.

Another question is that the output are strang...for example i don't understand because the <B> tag are replace by
<SPAN STYLE="font-weight: bold">

And the cut and copy plugin don't work...

What is the best and stable editor WYSIWYG at today?

Tnx all

 

Lotus Domino Form ...Web with Dojo

Hi to all,
If I want realized my Dojo application with Lotus Domino like example mail
http://dojotoolkit.org/demos/email-using-1-0

I have some problem for using a TabContainer because all document that I use in Domino are FORM.
My problem is that into a ContentPane I can't use a Form because this TAG are removed.

For you what's the workaround for realized my application Dojo in Domino using TabContainer?

Tnx you for any suggest

Syndicate content