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
close icon

New border style not applied to columns in header row?

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.

2 Replies

AD Administrator Syncfusion Team 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.


AK Andy Kay August 8, 2003 03:45 PM UTC

That did the trick. Thanks again.

Loader.
Live Chat Icon For mobile
Up arrow icon