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.

Bold Grid line for cols

Thread ID:

Created:

Updated:

Platform:

Replies:

24561 Feb 7,2005 09:53 AM Feb 9,2005 11:09 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 7, 2005 09:53 AM

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 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.)

Administrator [Syncfusion]
Replied On February 9, 2005 10:57 AM

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

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

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.

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.

;