1.Jstree 赋值选中并展开 的代码实例:
jstree.on('loaded.jstree', function(event,obj) {var ref = $('#treeview-2017').jstree(true);var nodes=["c722bc8a-51b6-49a0-8da6-ec042836bbe4","375fd37d-b74a-4b78-a94e-5e5255445f0c","f3267233-69d2-4727-912b-4e3cca1e8b08"];$.each(nodes, function(i, nd) {ref.check_node(nd);//选中$("#treeview-2017").jstree('select_node',nd);//});});