DHTMLX Docs & Samples Explorer

checkAll(mode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

check all checkboxes in grid

  • mode - {true|false} check\uncheck all checkboxes in grid (optional, true by default)
   //check all checkboxes in grid
   mygrid.checkAll(true);
   //uncheck all checkboxes in grid
   mygrid.checkAll(false)

Please make sure that all rows are loaded before calling this method.

See also: uncheckAll, setCheckedRows, getCheckedRows