View Full Version : TreeStore reloads all data when expanding item

22 Oct 2012, 5:26 AM
Hi there,
i have two-column treegrid, my json is allmost similar to treegrid.js example. Treegrid can not display children and when expanding item, it shows all repeated root elements again. When i set expanded: true in .json file it causes data loading recursion. How to simply load once whole tree data?

22 Oct 2012, 8:52 AM
Please provide your JSON sent to your tree.
Are you setting leaf: true on your end nodes?


23 Oct 2012, 7:32 AM
I get rid off api: { ... } block in proxy definition which was copied from example code and problem solved. Dont know, why tree allways was loading on expanding, maybe some config var used by default. Still so much mystery on everything here for me :-)