AD
Administrator
Syncfusion Team
September 13, 2006 04:26 AM UTC
Hi Charlie,
For the GriddataBoundGrid, there are two different ways to do this. If you want the column nCol to be readonly, you can use code such as:
//C#
this.gridControl1.ColStyles[nCol].ReadOnly = true;
this.griddataBoundGrid1.Binder.InternalColumns[nCol-1].StyleInfo.ReadOnly = true;
//VB.NET
Me.GridControl1.ColStyles(nCol).ReadOnly = True
Me.GriddataBoundGrid1.Binder.InternalColumns(nCol-1).StyleInfo.ReadOnly = True
Let me know if you have problems with either of these items.
Thanks,
Haneef