Check documentation for the latest version 6.0 of dhtmlxSuite setColumnIds DHTMLX Docs

setColumnIds

sets id for every column

void setColumnIds(string ids);

Parameters

idsstringa comma-delimited list of ids or an empty one, if the values to use have been set earlier

Example

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

Details

the method can be used to retreive the index of the desired column

Back to top