Check documentation for the latest version of dhtmlxSuite onCheck DHTMLX Docs

onCheck

fires on checking a checkbox in a combo

void onCheck(string|number value,boolean state);
valuestring|numberoption value
statebooleantrue if checked

Example

myCombo.attachEvent("onCheck", function(value, state){
    // your code here
});

Change log

since version 4.4, this event can't cancel "check" process by returning false.
Please, use onBeforeCheck for this purpose.

Back to top