Mar 31, 2013, 5:57 AM
How to disable auto expand tree node when using dynamic tree and filter?
As the example Treepanel-advanced-filter , my tree is used ajax to load tree nodes dynamically, but the total amount of nodes is exceed 10,000, so when I use filter method ' tree.filterBy(function (node) { return re.test(node.text); ',it will become very slow for it will automatically expand all the nodes.
my question is how to filter only the node that have been loaded , not to expand and load the unload nodes automatically ,this will raise the speed.
Regards.
my question is how to filter only the node that have been loaded , not to expand and load the unload nodes automatically ,this will raise the speed.
Regards.
Last edited by jhfone; Apr 02, 2013 at 1:39 AM.