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.

GridGroupingControl: how to highlight the row?

Thread ID:

Created:

Updated:

Platform:

Replies:

49125 Sep 12,2006 02:16 AM Sep 14,2006 10:27 PM Windows Forms 4
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 12, 2006 02:16 AM

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 02:44 AM

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 08:05 AM

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 08:30 AM

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 14, 2006 10:27 PM

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.

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.

;