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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bold Grid line for cols

Thread ID:

Created:

Updated:

Platform:

Replies:

24561 Feb 7,2005 02:53 PM UTC Feb 9,2005 04:09 PM UTC Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 7, 2005 02:53 PM UTC

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

Administrator [Syncfusion]
Replied On 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.)

Administrator [Syncfusion]
Replied On February 9, 2005 03:57 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;