Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to use CSS to change color of RadzenDataGrid row on hover

$
0
0

I am trying to change the color of an entire row of a RadzenDataGrid on hover. Should be pretty cut and dry, but I can't seem to get anything to work.

I have tried:

.rz-data-row:hover {background-color: #767676 !important;}

This does not do anything.

I can get an individual cell to change on hover with the following code (even rows):

.rz-grid-table-striped tbody tr:not(.rz-expanded-row-content):nth-child(even) > td :hover{background-color: orange !important;

}

I thought maybe changing the >td to >tr might work - but it did not.

I have been stumped on this all day. Running out of ways to google it, and AI is no help. Decided to reach out for help here.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>