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

GGC: Highlight row except for one column

Hi,

I want to know if it is possible to set one column of my GGC to not be effected by the highlighted color. The reason being it is a color cell itself, so when I click on that row, the color of the highlight covers the color of the cell. I want to be able to click on a row and have the entire row highlighted except for that column.

Please advise. Thanks

1 Reply

AD Administrator Syncfusion Team December 26, 2007 05:57 PM UTC

Hi Patrick,

Sorry for the delay in responding you.

You can avoid the highlighting of a particular column when entire row is selected. This can be achieved by removing the selection on that particular column. The following code snippet illustrates this.

[C#]

// Removing the selection on 4th column
gridControl1.Selections.Remove(GridRangeInfo.Col(4));

Please let me know if this helps you.

Thank you for your interest in Syncfusion products.

Regards,
Jaya


Loader.
Live Chat Icon For mobile
Up arrow icon