DHTMLX Docs & Samples Explorer

enableCellIds(mode)

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

enable/disable unique id for cells (id will be automaticaly created using the following template: 'c_[RowId]_[colIndex]')

  • mode - {true|false} - enable/disable unique id for cells
   //enable unique id for cells
   mygrid.enableCellIds(true);
   //disable unique id for cells
   mygrid.enableCellIds(false);

That method should be called before rows are rendered.

See also: setColumnId, setColumnIds