PDA

View Full Version : How to create a 'root' definition for a Treestore?



bseddon
17 Feb 2012, 3:27 PM
I want to be able to create a root definition for a Treestore. If I did it manually might be like:


root: {
text: 'Ext JS',
id: '',
expanded: true
}

(this is taken from one of the examples)

How do I define these parameters using the designer?

Thanks

aconran
17 Feb 2012, 3:35 PM
This was a bug. 289 and higher have the configuration. It will be fixed with the next public beta auto-update.

For now you can just manually add them in by doing root: {text: 'Ext JS', id: '', expanded: true} in teh quick set search box and clicking add.

bseddon
17 Feb 2012, 3:54 PM
Thanks, neat trick.