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
close icon

How to set selected color for GGC?

Hi,

Is there a property to set the selection color the each selected row inside a grid grouping control?

I saw a property TableOptions.BackgroudSelectionColor but it only works for the selected text inside a cell, not the whole row.

Please help me with this.

Thanks and regards,

Cuong Luc.

2 Replies

AD Administrator Syncfusion Team November 2, 2006 11:54 AM UTC

Hi Cuong,

Use the below property setting to do this.

this.grid.TableOptions.ListBoxSelectionMode = SelectionMode.One;
this.grid.TableOptions.SelectionBackColor = Color.Green;
this.grid.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;

Thanks for using Syncfusion Products.

Regards,
Haneef


AD Administrator Syncfusion Team November 2, 2006 12:31 PM UTC

Hi Cuong,

Use the below property setting to do this.

this.grid.TableOptions.ListBoxSelectionMode = SelectionMode.One;
this.grid.TableOptions.SelectionBackColor = Color.Green;
this.grid.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;

Thanks for using Syncfusion Products.

Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon