DHTMLX Docs & Samples Explorer

setCheckedRows(cInd,v)

Required library edition: This method works with any edition of DHTMLX library
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