Kendo Grid - Change Color Row Selected

0 Answers 281 Views
Grid
alex
Top achievements
Rank 1
Iron
Veteran
alex asked on 20 Oct 2022, 12:57 PM

How to change color of row selected?

 

Plamen
Telerik team
commented on 21 Oct 2022, 05:51 AM

Internally we use the k-selected class for the selected rows in the Grid so you can use it and change the background color as in the code below:

<style>
.k-grid tr.k-selected > td {
  background-color: red;
}
</style>

Here is and example = https://stackblitz.com/edit/yzmirt?file=src%2Fmain.vue

 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
alex
Top achievements
Rank 1
Iron
Veteran
Share this question
or