-
Answered: Ext.Tree.Panel Remove Nodes performance
Answered: Ext.Tree.Panel Remove Nodes performance
I have 350 items added to a tree node ( node.appendChild(array) ). This was so slow that i had to use Ext.defer to get the GUI responsible.
But now i have to delete all nodes, before appending new ones.
It takes over 10 seconds to remove the nodes with node.removeAll(). How can i improve that?
Thanks for your suggestions.
-
Best Answer Posted by
Farish
What if you remove the root node or the first parent node after the root? wouldn't it delete the child nodes also? I havent tried this. Just a guess.
-
What if you remove the root node or the first parent node after the root? wouldn't it delete the child nodes also? I havent tried this. Just a guess.
-
Deleting and Recreating the parent node is much butter ( 30 msecs to remove the 350 nodes )
Thanks
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us