This is a migrated thread and some comments may be shown as answers.

How can I override GridView unfocused row selection styling?

2 Answers 202 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 29 Oct 2012, 11:45 AM
I am using the Office Black styling for my application. When you select a row in the RadGridView it is highlighted with a yellow/gold highlight. When the RadGridView loses focus the highlight changes to a light gray color. Is there a way to simply override the unfocused highlight to be the same as the focused highlight?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Yoan
Telerik team
answered on 30 Oct 2012, 07:30 AM
Hi Andrew,

 Please check this code library, where you can find how to achieve your goal. 

Greetings,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Yoan
Telerik team
answered on 26 Mar 2013, 02:23 PM
Hello Andrew,

As a quick update, I would like to inform you that with our internal build (version 2013.1.0311)  we've added EnableLostFocusSelectedState property for RadGridView. It allows you to manage the selected state of GridViewRow. If you would like to revert to the previous behavior then you should set this property's value to False. You can check this help article for a reference.

The latest internal build is available for download from your account, under Manage Products-> Latest Internal Builds.


All the best,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Andrew
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or