Check documentation for the latest version of dhtmlxSuite setColumnId DHTMLX Docs

setColumnId

sets id for the specified column

void setColumnId(number ind,string|number id);
indnumberthe index of a column
idstring|numberthe id to set for a column

Example

//set id for the first column
mygrid.setColumnId(0,"column1");

Back to top