fires when a checkbox is checked or unchecked in the datatable item
row | number | id of the row |
column | string | id of the column |
state | number | new checkbox state |
datatable.attachEvent("onCheck", function(row, column, state){
//code
});
Checkbox state is 0 or 1 by default, if other is not stated by the checkValue and uncheckValue properties of the column:
{id:"ch", template:"{common.checkbox()}", checkValue:"On", uncheckValue:"Off"}
Back to top