我想将 jsTree 与复选框一起使用,但它不起作用。
我的代码:
$("#tree").jstree({
"json_data" : {
"data" : data
},
checkbox: true,
checkboxName: 'checkbox1[]',
"plugins" : [ "themes", "json_data", "ui", "checkbox", "types" ]
});
树看起来不错并且可以工作,但我没有选择项目的复选框。
有人可以帮忙吗?