DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setCheckedRows(cInd,v)

Required library edition:
Required library file: dhtmlxgrid.js

set value for all checkboxes in specified column

- col_ind - column index
- v - value, 0 - not checked, any other value - checked

       //check all checkboxes in the first column
       mygrid.setCheckedRows(0,1);
       //uncheck all checkboxes in the first column
       mygrid.setCheckedRows(0,0);

See also: checkAll, getCheckedRows