AD
Administrator
Syncfusion Team
April 20, 2005 04:51 PM UTC
Try settig these properties on the column you want to be readonly:
//if you have added GridBoundColumns
this.grid.GridBoundColumns["ID"].StyleInfo.ReadOnly = true;
this.grid.GridBoundColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this???
//if you have not explicitly added GridBoundColumns
this.grid.Binder.InternalColumns["ID"].StyleInfo.ReadOnly = true;
this.grid.Binder.InternalColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this???