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:

Created:

Updated:

Platform:

Replies:

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

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

Thanks!

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.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=344

Let me know if you have any further questions.

Regards,
Haneef

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?

thanks!

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.

http://www.syncfusion.com/Support/user/uploads/Q41_21049_aca5b752.zip

Thanks,
Haneef

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

it''s work!

Thanks!

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

;