DHTMLX Docs & Samples Explorer

setColumnId(ind, id)

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

sets ids to specified column.

  • ind- index of column
  • id- id of column
   //set first column id
   mygrid.setColumnId(0,"column1");

See also: setColumnIds, enableCellIds