fires before an item is checked/unchecked
id | string|number | the id of the item |
state | boolean | the current state of the checkbox |
boolean | true - allows checking |
myTree.attachEvent("onBeforeCheck", function(id, state){
// your code here
});
Back to top