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

GridGroupingControl: how to highlight the row?

Thread ID:





49125 Sep 12,2006 06:16 AM UTC Sep 15,2006 02:27 AM UTC WinForms 4
Tags: GridControl
Administrator [Syncfusion]
Asked On September 12, 2006 06:16 AM UTC

how to highlight the row or change the row color when i click on any cell of the row? My grid is readonly grid.


Administrator [Syncfusion]
Replied On September 12, 2006 06:44 AM UTC

Hi Lim,

Try setting these properties to highlight the selected record in a grid.

this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One;
this.gridGroupingControl1.TableOptions.SelectionBackColor = Color.Blue;
this.gridGroupingControl1.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;

See the below KB Article for selection types in GroupingGrid.

Let me know if you have any further questions.


Administrator [Syncfusion]
Replied On September 12, 2006 12:05 PM UTC

hi! it''s work fine..
But i had applied a CustomCellType:LinkLabelCellModel(a hyperlink)
in one of my column, the hyperlink is not working now..

Do the Properties caused the problem?

How to solve?


Administrator [Syncfusion]
Replied On September 12, 2006 12:30 PM UTC

Hi Lim,

For implementing the link cells in the GridGroupingControl, we have to create a custom class.(LinkLabelCell class) By handling the QueryCellStyleInfo event, we can provide different hyperlinks for different records. Sample attached for further reference of yours.



Administrator [Syncfusion]
Replied On September 15, 2006 02:27 AM UTC

it''s work!



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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.