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

GridGroupingControl - Different Ways to Show Selected Row(using properties)

Hi,

We are using V 4.2.0.37.

When we select a record in GGC, it is displayed in blue color. Instead what are all the styles I can apply for selected record?

When I right click i am dispaying dotted border, by handling events. Like this, can I set some other styles(using table level properties only, not events)? like gradient colors, shading, etc.

Rgds
Rajani Kanth

1 Reply

AD Administrator Syncfusion Team October 19, 2006 04:54 PM UTC

Hi Rajani,

You can change the appearance of the selected record using these property settings.

// To change the selection color for the record
this.gridGroupingControl1.TableOptions.SelectionBackColor = Color.Green;

// To change the selected record's text color
this.gridGroupingControl1.TableOptions.SelectionTextColor = Color.Yellow;

this.gridGroupingControl1.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;

You need to handle events to have a gradient look and other style related stuffs for the selected record.

Let me know if you need more information.
Thanks for using Syncfusion Products.

Regards,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon