Bold Grid line for cols

I would like to have a column with the cell border thiker than the other on all the lines. How one can do that ?

3 Replies

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

Loader.
Up arrow icon