[jsTree] Expand and collapse buttons.

<input type="button" value="Expand All" onclick="$(‘#jsTreeID').jstree('open_all');">
<input type="button" value="Collapse All" onclick="$('#jsTreeID').jstree('close_all');">

Ref: jsTree: adding Expand All and Collapse All buttons

This entry was posted in jsTree. Bookmark the permalink.