I have jstree

using 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 validation action, the user must check all the node he wants, but select only one row for the time. at the moment, when I click throughout the line, it selects this line and checks that node, I need to check the box only if the user clicks on it.
I try so many events, but the only thing that works:
Tree.on("changed.jstree", function (e, data) { });
which capture both the action of choice and verification.
Any suggestions?
source share