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 - Different Ways to Show Selected Row(using properties)

Thread ID:

Created:

Updated:

Platform:

Replies:

50802 Oct 19,2006 06:41 AM Oct 19,2006 12:54 PM Windows Forms 1
loading
Tags: GridControl
Badri Rajani Kanth
Asked On October 19, 2006 06:41 AM

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

Administrator [Syncfusion]
Replied On October 19, 2006 12:54 PM

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

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.

;