View Full Version : How to decrease load time of TreePanel ?

Anup Rana
7 May 2011, 9:38 AM
I am using treepanel and using json file to load the treepanel using dataUrl property.
But it is taking time to load the treepanel and the window gets slow because of loading time.
So how can i decrease the load time of the treepanel ?

9 May 2011, 6:51 AM
Instead of pre-loading the entire contents of the tree, try only loading the root-most branches of the tree. You'll then have to respond to click events on each branch and dynamically load the children on demand.