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.

GGC: Highlight row except for one column

Thread ID:

Created:

Updated:

Platform:

Replies:

68349 Sep 18,2007 11:37 PM Dec 26,2007 12:57 PM Windows Forms 1
loading
Tags: GridControl
Patrick Cheng
Asked On September 18, 2007 11:37 PM

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

Administrator [Syncfusion]
Replied On December 26, 2007 12:57 PM

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


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.

;