Check documentation for the latest version 6.0 of dhtmlxSuite onCheck DHTMLX Docs

onCheck

fires before an item's checkbox is checked/unchecked

void onCheck(string|number id,boolean state){ ... };

Parameters

idstring|numberthe item's id
statebooleancurrent state of the checkbox

Example

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

Back to top