SMART datagrid v.1 > Classes > GridBase
It will be fired just before the user clicks check all mark of grid header to change the checked state of all rows.
If explicitly return false within this event handler, it will cancel checked state change. onAllChecked event will be fired after the change. In addition, if directly call checkAll, it will not be fired.
// If click check all, it will toggle the checked state of all rows.
grid.onAllCheck = function (grid, checked) {
grid.toggleChecked(null);
return false;
};