Hi,
We have a RadGridView with a RowDetailsTemplate. When the user mouses over the row or selects the row, the row is highlighted, but not the details. We would like to present both the row and the details to the user as a single row. Is there a way to also highlight the row details when the parent is highlighted?
Thanks,
Doug
4 Answers, 1 is accepted
0
Hi Doug,
ControlTemplate of GridViewRow could be modified so that the row details could be highlighted, when the parent ros is being either hovered or selected.
Do you want to have the same colors on hover and selection for row details?
Regards,
Vanya Pavlova
Telerik
ControlTemplate of GridViewRow could be modified so that the row details could be highlighted, when the parent ros is being either hovered or selected.
Do you want to have the same colors on hover and selection for row details?
Regards,
Vanya Pavlova
Telerik
See What's Next in App Development. Register for TelerikNEXT.
0
Doug
Top achievements
Rank 1
answered on 13 Apr 2015, 12:09 PM
Hi Vanya,
Yes, we would like to have the same colors on the detail rows as the parent row.
Thanks,
Doug
0
Accepted
Hello Doug,
You should predefine the default control template of GridViewRow and span the desired elements.
Setting Background of DetailsPresenter to Transparent will include it in hit testing.
I'm attaching you small sample demo that illustrates this approach.
Regards,
Vanya Pavlova
Telerik
You should predefine the default control template of GridViewRow and span the desired elements.
Setting Background of DetailsPresenter to Transparent will include it in hit testing.
I'm attaching you small sample demo that illustrates this approach.
Regards,
Vanya Pavlova
Telerik
See What's Next in App Development. Register for TelerikNEXT.
0
Doug
Top achievements
Rank 1
answered on 20 Apr 2015, 12:26 PM
Thanks Vanya! The sample was very helpful.