master_checkbox onCheck event

Hello,

I need to make a special treatment when I check or uncheck a “master_checkbox”.
I have to check or uncheck boxes following some rules.
How can I use an event “oncheck” for this “master_checkbox”?

In advance thank you

You may try to use the onCheckbox event:
docs.dhtmlx.com/doku.php?id=dhtm … oncheckbox

ok, but how to know if i check the checkbox in the rows of grid or the master_checkbox?

Unfortunately it’s not available.
onCheckbox event occurs for each row of the column in case of clicking the master checkbox, but it’s not occurs for the master checkbox.

onCheckbox event is deprecated now, it is suggested to use onCheck event instead.
However onCheck event still cannot be triggered when master checkbox is clicked.

Is there any other event can be used?

I apologize for the confusion.
onCheckBox is deprecated but you may use it for now. It won’t be excluded from the sources of the dhtmlxGrid.
In the nearest update onCheck event will also trigger on the master_checkbox clicking.
Thank your for your note.