AD
Administrator
Syncfusion Team
February 7, 2005 06:03 PM UTC
You can try setting the GridBoundColumn.StyleInfo.Borders.Right property.
this.gridDataBoundGrid1.Binder.InternalColumns["col1"].StyleInfo.Borders.Right = new GridBorder(GridBorderStyle.Solid, Color.Black, GridBorderWeight.Medium);
(If you have added GridBoundColumns, use this.gridDataBoundGrid1.GridBoundBounds["col1"] instead of the internalcolumns.)
AD
Administrator
Syncfusion Team
February 9, 2005 03:57 PM UTC
There is no such method for the Grid Control (not the bound one)
AD
Administrator
Syncfusion Team
February 9, 2005 04:09 PM UTC
Use the ColStyles property for a regular grid:
gridControl.ColStyles[1].Borders.Right = new GridBorder(GridBorderStyle.Solid, Color.Black, GridBorderWeight.Medium);
Stefan