Check documentation for the latest version of dhtmlxSuite onCheck DHTMLX Docs

onCheck

fires before an item's checkbox is checked/unchecked

void onCheck(string|number id,boolean state);
idstring|numberthe item's id
statebooleancurrent state of the checkbox

Example

myTreeView.attachEvent("onCheck", function(id, false){
    // your code here
});

Back to top