dojo

Dojo dijit.form.NumberTextBox returning "NaN"

Howdy Folks, iam using an dijit.form.NumberTextBox, if no value is inside it returns "NaN" , is there any way to set it to Zero ? <dt><label for="xx"><?php echo $this->translate('xx');?></label></dt> <dd><input type="text" name="xx" id="xx" dojoType="dijit.form.NumberTextBox" required="false" value="0" ...

JSONQuery parser in Java

Hi everyone, does someone know a JSONQuery parser in Java? Thanks a lot in advance! -- Andreas ...

how can we resize a row in dojo grid

Hi all, I want to resize the dojo grid row by dragging it as we can do with the column. I want it some thing like Excel row which we can resize(minimize or maximize its height), is there a way to do this in dojo grid? Thanks Faz ...

how can we resize a row in dojo grid

Hi all, I want to resize the dojo grid row by dragging it as we can do with the column. I want it some thing like Excel row which we can resize(minimize or maximize its height), is there a way to do this in dojo grid? Thanks Faz ...

What's the max JSON data size that can be loaded by Dojo ComboBox/Filtering Select Component?

Hi, I'm developing a form using the Zend Framework and utilising dojo. One part of the form is gathering a users contact details and address. The issue I am hitting is using the FilteringSelect or ComboBox dojo component to select the city/town. I have in my database a list of 40K+ town/city names. I've tried to use the Dojo compone...

Dragging dnd items generates "this.manager.nodes[i] is null"

I use Dojo 1.3.1, essentially under FF3.5 for now. I have a dnd source which is also a target. I programmatically add some nodes inside, by cloning template items. The aim for the user is then to use dnd to order the items. It is ok for one or two actions, then I got the "this.manager.nodes[i] is null" error in Firebug, then no more dnd...

How to override a method in dojox _Scroller class?

Hi there, How do I override a method in dojox.grid._Scroller class from a class extending dojox.grid.DataGrid. dojox.grid.DataGrid extends dojox.grid._Grid, which requires dojox.grid._Scroller. The method of interest here is: getScrollBottom(inTop). Thanks in advance! David ...

dojo dialog - check to see it is loaded

I am running a function that needs to close a dojo dialog if it is loaded. How do I check if a dojo dialog is running? Do I use pure javascript and check by id if it is undefined? if (dijit.byId("blah") !== undefined) { destroyRecursive dijit; } Or do i use a property of the dialog object like isFocusable method isLoaded pro...

Possible dijit.Tree Cookie issue (SaveStateCookie)

So our app is set up like the standard left frame with the tree, right frame has the main content (loaded from clicking the tree). Our web app inconsistently displays a blank page in the main frame in Firefox. By inconsistent I mean everyday for a few, rarely for others, never for most. Once we get this, going to any other page through ...

Cannot create dijits via dojo.NodeList.instantiate

I am trying to get dijits to render using the dojo.NodeList.instantiate method, which takes existing HTML elements and turns them into dijits when the DOM has loaded. The API reference for the instantiate method can be found here. The following example, which calls the instantiate method in the dojo.addOnLoad method, should create a Bo...

Dojo widget defaults

Hi All, i'm currently writing a large scale application heavily based on the dojo toolkit. The whole app is working and standing, but one issue i can not find my way out with, is the creation of custom widgets. It would be useful because it would clean up my source code and also i can reuse this 'widgets' in later projects. For example...

oncomplete event for dojo.place

Hello, I have a number of ajax calls with content being inserted by dojo.place. I have dojo widgets in the new content so I have to execute dojo.parser.parse() after the content is "placed". The trouble is I cannot find away of executing this. If I put the code on next line I gets executed too soon. I have had to put it in a setInterva...

dojo grid area get unreadable

I have a dojo app making extensive use of dojo grid, after some take arround using the app all grids looks grey at all (no titles, no data, just all the area of the grids in grey). Anyone have an idea of the possible causes for it? ...

DOJO : How do you reinitiate form elements after ajax call ?

I'm trying to do a couple of things using Zend Framework & Dojo Toolkit, and any help would be appreciated. Here's the problem: I have a form that is rendered with the Zend Framework form class, which has an ajax radio button selection. Clicking one of these radio buttons will send an ajax request to another controller, which has no lay...

Looking for a Dijit Widget which works like a default html select

Hi, I'm looking for a dijit widget which works like a normal html select (combobox). all dijit widgets i found until now, have an editable text box. I prefer to have a drop down box only and no editable textbox. <select name="aCombobox"> <option value="1" selected="selected">Hund</option> <option value="2">Katze</option> <o...

How to set the Dojox Datagrid row height to a single line

Hey all, I'm trying to fix the height of a Dojox 1.3 Datagrid to a single line (like Excel). The current functionality is to automatically increase the row's height when more data than will fit into a single line is available. Is there an easy way to accomplish this? It seems like it should be built in functionality for a datagrid, c...

dijit button theming not visibly applying in IE6

I've got a very simple page, with one dijit button. I'm trying to override the font on the button with blue, times, bold. It works fine in FF, but in IE, I'm just seeing black, arial, normal text. If I look in IE Dev Toolbar, it shows the rule as applying, but not in the display. Am I doing something wrong? Here's the code: <html> <...

setting a default value in a dojo filteringselect

Hi, I'm trying to get a filtering select work with a Dojo enabled form using the Zend Framework. The form allows the user to update their details such as address, urls etc for their profile. However elements in the form are using a filiteringselect for things such as country and state/county. I want to get this to default with the va...

How to increase/descrease font size in Dojo DataGrid

Hi there, How can I increase/decrease the default dojo datagrid font size, should I do this in CSS or there's property I can set when extending the DataGrid class. Thanks in advance! David ...

Is keyboard (arrow key) navigation supported in dijit.Tree 1.3 on Safari 1.3? Safari 1.3 onkeypress onkeydown question.

I first noticed apparent lack of keyboard support for navigation in dijit.Tree and am aware there were changes to keypress keydown behaviour around Safari 1.3.1 Also there was significant thought put in by dojo contributors on best way to go, e.g. trak 6876 Recently i have had issue with some of my own keydown handlers not firing (The...