Hi,
how do i add children for the first (toplevel) nodes when i click the (+) expand symbol. this is done by programmatically in Dojo version 0.9 or above.
My expectation is
(+) Fruit
(+) Chocolate
(+) Biscuits
if i click (+) for fruit, it takes the value from other json file thru xhrGet function and append fruit's child as like
(-) Fruit
Apple
Orange
(+) Grapes
(+) Chocolate
(+) Biscuits
Could any one please help this..
Re: need some sample code for dijit.tree
Dojo has the dojox\data\demos\demo_LazyLoad.html sample that shows how to implement lazy load. You need to create your own LazyLoad
store (dojox\data\demos\stores\LazyLoadJSIStore.js), possibly by
extending FileReadStore.
Regards,
Alex