Grid, Checkbox No Highlight

1 Answer 15 Views
Grid
Srinivas
Top achievements
Rank 1
Iron
Srinivas asked on 21 Mar 2025, 06:59 PM

Hi , Is there  a way to change or remove highligt color of selected rows in the grid. 

Example: This is default behaviour

Is there a way to display like this.

 

I tried to overwrite with css. But no luch. Even with transparent it is not working.

.k-selected {
    background-color: white !important;
}

 

 

Thanks

Srinivas Kolla

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 24 Mar 2025, 12:46 PM

Hello, Srinivas,

Your approach is correct, but you need to make the selector a little heavier in order to be able to overwrite the default styles of the selected rows. For example:

            div.k-grid td.k-selected, 
            div.k-grid .k-table-row.k-selected>.k-table-td {
                background-color: unset
            }

Regards,
Vessy
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Grid
Asked by
Srinivas
Top achievements
Rank 1
Iron
Answers by
Vessy
Telerik team
Share this question
or