jstree set data programatically code example Example: jstree select node $("#tree").jstree("select_node", node.id);