jstree select all node code example
Example: jstree select all node
var data = $("#tree").jstree(true).get_json('#', { 'flat': true });
$.each(data, function (i, val) {
var node = $("#schema").jstree().get_node(val);
if (node.original.type == type) {
$("#tree").jstree("select_node", node.id);
}
});