DHTMLX Docs & Samples Explorer

mark(rid,cindex,fl)

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