Disable hover in grid

Hi,

How can I disable the hover effect of rows in the Grid component?

I tried:


    .e-grid .e-row:hover {
        background-color: #ffffff !important;
    }


But no luck!


P.S. I posted this under general as the Grid component is not in your drop downlist....


Thanks,

Peter



1 Reply

BS Balaji Sekar Syncfusion Team January 21, 2022 07:30 AM UTC

Hi Peter, 

Thanks for contacting the Syncfusion support. 

We can prevent the hover effect on the Grid row using enableHover property of Grid. Please refer the below code example and sample for more information 

[App.Vue] 
<ejs-grid :dataSource="data" :allowPaging="true" :enableHover="false"> 
      <e-columns> 
.    .  .   .  
      </e-columns> 
    </ejs-grid> 



Please get back to us, if you need further assistance. 

Regards, 
Balaji Sekar 


Loader.
Up arrow icon