setColumnId

sets id for the specified column

void setColumnId(number ind,string|number id);

Parameters

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