@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 : 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?