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

Grid row colors on combinations of error, selected, hover

1 Answer 9 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 04 Sep 2018, 10:43 PM

I've looked quite extensively for this in the grid control, but I'll ask before I request the enhancement.

We are using the RadGridView quite extensively, and we have one major UI problem with it.  The issue has two parts:

  1. When a row is selected, hovering over it makes no visible difference.
  2. When a row is in error, it is impossible to tell whether the row is also selected and/or being hovered over.

These may seem minor, but they are a growing annoyance to our users, especially since error conditions and multi-row-select are common in their use case.

Is it possible for me to work around this without extracting a large chunk of template and changing it? (That's the only option I've come up with so far.)  If so, how?  If not, how can I add this as a feature request for Telerik?

 

Thanks!

Brad.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Sep 2018, 11:25 AM
Hi Brad,

Thank you for the detailed explanation of your requirement.

In order to achieve this you can indeed edit the template of the control. You can achieve this by modifying the ControlTemplate of GridViewRow. Within it you can find two Border elements with x:Name="Background_Over" and "Background_Invalid". By changing their BorderBrush and Background properties you should be able to modify the visual presentation of the invalid row and a hovered one. Is this the behavior you are aiming at or I am missing something?

Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Brad
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or