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

Changing the selected row colour in the Rad Grid View

4 Answers 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Phoenix
Top achievements
Rank 1
Phoenix asked on 29 Apr 2016, 08:57 AM

I've been trying to change the selected row colour from the default grey to blue.  I've been able to change the un-selected row colour, but when I do that the selected row turns to a kinda orange, and I can't change it from there.

 

Would anyone be able to help work out how to change this?

4 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 29 Apr 2016, 12:33 PM
Hi Andrew,

Can you clarify what is the theme that you are using for your application?

Generally, the approach you need to take is to Edit the Control Template of the GridViewRow and change the fill property of the border/rectangle that is applied to the Selected state. I have added a sample project that shows how to achieve the desired behavior for the Windows8 theme. 

Regards,
Stefan Nenchev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Phoenix
Top achievements
Rank 1
answered on 29 Apr 2016, 04:02 PM
We're currently using the windows 8 theme with our own colour scheme styled in on top.
0
Stefan Nenchev
Telerik team
answered on 02 May 2016, 09:53 AM
Hello Andrew,

In this case, the attached project should help to achieve your requirement. Did you have the time to review it?

Regards,
Stefan Nenchev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Phoenix
Top achievements
Rank 1
answered on 03 May 2016, 08:33 AM
I'm afraid not as yet, I'll try to get to it this week and let you know how I get on
Tags
General Discussions
Asked by
Phoenix
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Phoenix
Top achievements
Rank 1
Share this question
or