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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

New border style not applied to columns in header row?

Thread ID:

Created:

Updated:

Platform:

Replies:

6326 Aug 8,2003 01:38 PM UTC Aug 8,2003 03:45 PM UTC WinForms 2
loading
Tags: GridControl
Andy Kay
Asked On August 8, 2003 01:38 PM UTC

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 02:19 PM UTC

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 03:45 PM UTC

That did the trick. Thanks again.

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

;