DataModel.setColumnName

void setColumnName(int col, string name)

Sets the name of the given col in model, and if its title is not set, also sets the title to name.

Parameters

colcolumn number
namename for the given column.