onCheck

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

void onCheck(number row,string column,number state);
row
numberthe id of the row column
stringthe id of the column state
numberthe 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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.