How do you obtain treeId - is is the DOM node extended with jquery or
is it the ID of the dom node, or is it the tree instance.
Try using:
1) jQuery(treeId).jstree("open_all")
2) treeId.open_all();
3) jQuery.jstree._reference(treeId).open_all();
Depending on what treeId is - at least one of the above will work ;)
Sorry I cannot be specific but I do not know what the treeId object
is :)
Kindest regards,
Ivan