DHTMLX Docs & Samples Explorer

enableMarkedCells(mode)

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

Sets marked cells support to enabled or disabled state. The user will be able to select single cell instead of selection whole row.
Note this functionality is mutually exclusive with standard selection functionality.

  • mode - {true|false} - enable/disable marked cells support
   //enable marked cells
   mygrid.enableMarkedCells(true);
   //disable marked cells
   mygrid.enableMarkedCells(false);

See also: mark, getMarked, unmarkAll