Hello Im using a for loop to open all nodes.
Is there a way to just to open all nodes at once instead of a loop??
function (event, data) {
var myChilds=myfavTree.find("li");
for(var i=0;i<myChilds.length;i++){
var myId= $(myChilds[i]).attr("id");
$("#dataTree").jstree("open_node","#"+myId);
}