DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### checkAll(mode)

Required library edition:
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