We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 01:03 PM

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 10:57 AM

There is no such method for the Grid Control (not the bound one)


AD Administrator Syncfusion Team February 9, 2005 11:09 AM

Use the ColStyles property for a regular grid: gridControl.ColStyles[1].Borders.Right = new GridBorder(GridBorderStyle.Solid, Color.Black, GridBorderWeight.Medium); Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon