fires before an item's checkbox is checked/unchecked, cancelable
id | string|number | the item's id |
state | boolean | current state of the checkbox |
boolean | true to allow operation |
myTreeView.attachEvent("onBeforeCheck", function(id, state){
// your code here
return true;
});
the event is blockable: returning false will block the checkbox's checking
Back to top