How to Highlight selected row

I have an sfgrid control.I would like to know how to highlight selected row 


1 Reply

RN Rahul Narayanasamy Syncfusion Team June 25, 2021 04:23 AM UTC

Hi Hassan, 

Greetings from Syncfusion. 

Query: How to Highlight selected row 

We have validated your query and we would like to inform you that the selected row will be highlighted like below based on the theme you are using. Find the below screenshot for your reference. 

 

If you want to highlight the selected row color other than this default color, then you can achieve your requirement by using below CSS. Find the below code snippets and screenshot for your reference. 

<style> 
    .e-grid .e-rowcell.e-selectionbackground { 
        background-color: aqua !important; 
    } 
</style> 

 

Please let us know if you have any concerns. 

Regards, 
Rahul 



Loader.
Up arrow icon