Login Register

expand

Insert Nested Grid Programmatically into an Expando

I'm working on a retail site which displays a list of search results in a DataGrid. I'm using the "expando" feature to show details for these items when the user "expands" the row, similar to the example here:

http://download.dojotoolkit.org/release-1.2.0/dojo-release-1.2.0/dojox/g...

[SOLVED] Is there a way to explicitly tell the tree not to expand all subnodes?

Hi,
I'm using a dijit Tree widget hooked into a read-only data store, based on the one given here:

http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/data/demos/demo...

Expanding nodes with TreeRPCController

Hi,

I post this question here although I'm not using dijit. I hope either it can also be answered or moved to the correct place.

I have a Tree and a RPCController to load the nodes via a servlet. If I expand a node the data is loaded from the server and displayed correctly.

Now I want to search for nodes in the tree and then expand the nodes I found. The search is done on server side and I get back the path from the root to the corresponding node.

dojo.data.ItemFileReadStore: Invalid item argument. on item expand

I can programmatically add a new item, with children, to a tree without problems. However, the moment I click the plus sign to expand the first node and see the children I get this exception:

dojo.data.ItemFileReadStore: Invalid item argument

Here's the JSON of the Tree Store data:

{ "identifier": "key", "label": "name", "items": [ { "key": 1, "name": "Property: xxx", "type": "prop", "children": { "name": "blah blah", "type": "deal", "children": [ ] } } ] }

I've also tried having a key on the child entry, but it's had no effect.

Syndicate content