onCheck
fires when a checkbox is checked or unchecked in the datagrid item
function onCheck( // the id of the row row: number, // the id of the column column: string, // the new checkbox state state: number): void
Example
Section titled “Example”datagrid.attachEvent("onCheck", function(row, column, state){ //code});
also check the next samples:
Details
Section titled “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"}