getParentNode is not working in case of tree with more than 1k nodes.
@zTree : I am trying to add search functionality, and I want to modify it like : If the search is successful then it should expand all its parent nodes and highlight the nodes. To implement it I am using : zTree.getNodesByParamFuzzy("name", value); zTree.expandNode(nodeList[i].getParentNode(), true, true, true); It fails to get parent node using getParentNode(), may be because of large data set. There are no console error, it just get stuck while finding its parent node. Can you please provide the solution?
@zTree Can anyone please help on this issue? It's pretty urgent for me to fix it.
- expandNode method will auto expand the node's parent node.
- the root node has not parent node.
if you still aren't resolve the problem, please tell me. Or share your code to me.