I have created a two state jstree. Since I need to make a two state tree, I am not able to select any another node relatively to a node. What I want is that when I click on a particular node then all the parent node of the selected node should also get checked.
Please help me ..
Bind to a handler and the node object is passed in. The tree can be traversed up to find all of the parents. The below example uses the class “jstree-open”, but any other class applied to the parent will also work.