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.

New border style not applied to columns in header row?

Thread ID:





6326 Aug 8,2003 09:38 AM Aug 8,2003 11:45 AM Windows Forms 2
Tags: GridControl
Andy Kay
Asked On August 8, 2003 09:38 AM

I'm setting a new border style for certain columns in my virtual grid. To do so, I'm handling GridQueryCellInfo and when the row is (-1) I assign the new border styles. The problem is that the border styles are not applied to the columns of the header rows.

Administrator [Syncfusion]
Replied On August 8, 2003 10:19 AM

The e.ColIndex == -1 sets the rowstyle for the e.RowIndex row. This rowstyle does not affect the row headers (column 0) as you noted. So, to catch the row headers in addition to the rowstyle, you could look for e.ColIndex <= 0 instead strictly equal -1.

Andy Kay
Replied On August 8, 2003 11:45 AM

That did the trick. Thanks again.


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.