I have this JsTree
with this code:
var Tree = $("#MyTree");
Tree.jstree({
"core": {
"themes": {
"responsive": false,
"multiple" : false,
},
"data": dataTree
},
"types": {
"default": {
"icon": "icon-lg"
},
"file": {
"icon": "icon-lg"
}
},
"ui": {
"select_limit": 1,
},
"plugins": ["wholerow", "types", "checkbox", "ui", "crrm", "sort"],
"checkbox": {
"three_state": false,
"real_checkboxes": false
}
});
I need to separate the selection and the check action, the user must check all node he wants but select only one row for time. for now when I click everywhere on the row it select that row and check that node, i need to check the checkbox only if the user click on it.
I try so much event but the only that work is:
Tree.on("changed.jstree", function (e, data) { });
that catch both the action of selection and check.
Any suggestions?