This question is locked. New answers and comments are not allowed.
Dear Telerik support and other members,
Currently I have a jQuery method to expand all nodes using the following logic. For a small tree (< 50 items) it works fine. But if I have a tree structure with over 200 nodes, it takes a while before the system respond. I am thinking I might have a performance issue in traversing the tree nodes below.....Could someone please advise.
var allNodes = $('#TreeView').find("li:has(ul)");
$.each(allNodes, function(index, node) {
treeView().expand(node);
});
Thanks,
Wai Kei
Currently I have a jQuery method to expand all nodes using the following logic. For a small tree (< 50 items) it works fine. But if I have a tree structure with over 200 nodes, it takes a while before the system respond. I am thinking I might have a performance issue in traversing the tree nodes below.....Could someone please advise.
var allNodes = $('#TreeView').find("li:has(ul)");
$.each(allNodes, function(index, node) {
treeView().expand(node);
});
Thanks,
Wai Kei