DHTMLX Docs & Samples Explorer

setColumnIds(ids)

Required library edition: This method works with any edition of DHTMLX library
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