PDA

View Full Version : Can I preload hidden treenodes???



Chemist
8 Aug 2011, 6:14 AM
I need to load hidden nodes into the treepanel, to show them a little bit later. How can this be done? I use :


loader : new Ext.tree.TreeLoader({
preloadChildren : true
}),


But it only works if nodes are visible. If they are hidden - nothing loads, except the root node...
Can someone help me?

Mycoding
8 Aug 2011, 6:57 AM
Actaully I always set static data in treepanel cause dynamic tree is needed only in
very big and if data permamanet is being changed.

Look at API of ExtJS.
It is used static tree data.

If you still need dynamic treepanel please provide workable code that needs to be fixed.