Submitted by cmeans on Thu, 02/07/2008 - 12:45.
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.