I am having trouble with a JsTree I am using in an MVC2 project. I would like to create a function to deselect/close all nodes on the tree. Then open a specific node, and se
You could try passing a function that selects the node as a callback like:
$('#demo3').jstree('open_node', '#ParentID', function(e, data) { $('#demo3').jstree('select_node', '#ChildId'); }, true);
This way select_node will be called once the open_node returns success.
select_node