PDA

View Full Version : Treepanel expand - insertHTML



getimti
23 Jun 2009, 11:05 AM
Hi all,

I have a tree with about 1000 nodes at one level. I used the profiler and figured that on first expansion of the node, the insertHTML fucntion is ext-all-debug.js takes almost 80% of the time. If i now collapse and expand the sme node, its about 10 times faster and 'insertHTML' is not called this time. Is there a way i can do the 'insertHTML' upfront before i show the tree initially? Any other ideas to speed up the tree node expansion?

Thanks in advance
i