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
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 ui widget library and page of js xlsx product.