Required library edition: Required library file: dhtmlxgrid.js
sets ids to specified column.
//set first column id mygrid.setColumnId(0,"column1");
See also: setColumnIds, enableCellIds