DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### enableCellIds(mode)

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