onCheck

fires when a checkbox is checked or unchecked in the datatable item

void onCheck(number row,string column,number state);
rownumberthe id of the row
columnstringthe id of the column
statenumberthe new checkbox state

Example

datatable.attachEvent("onCheck", function(row, column, state){
    //code
});

Related samples

Details

A checkbox state is 0 or 1 by default. You can change it with the checkValue and uncheckValue properties of the column:

{id:"ch", template:"{common.checkbox()}", checkValue:"On", uncheckValue:"Off"}
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web control library and page of javascript datagrid product.