DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### mark(rid,cindex,fl)

Required library edition:
Required library file: dhtmlxgrid_markers.js

sets selection or removes selection from specified cell

- r - row object or row index
- cInd - cell index
- state - true or false

       //mark cell
       mygrid.mark('row1',0,true);
       //unmark cell
       mygrid.mark('row1',0,false);

Please make sure that necesary cell is loaded before calling this method.

See also: enableMarkedCells, getMarked, unmarkAll