DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setColumnIds(ids)

Required library edition:
Required library file: dhtmlxgrid.js

sets ids to every column. Can be used then to retreive the index of the desired colum

- ids - comma delimitered list of ids or empty if to use values set earlier

       mygrid.setColumnIds("sales,book,author,price,store,shipping,best,date");

See also: setColumnId, enableCellIds