We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to avoid changing the background row color when mouse cursor is hovering

Hi Support:

I have a ej-grid with the proerty allow-selection="false", but when the mouse is hovering a row, the background color of the row changes its color.  How can we ignore that behavior, so the background does not changes while hovering.

Thanjs in advanced


1 Reply

MS Mani Sankar Durai Syncfusion Team January 20, 2017 12:45 PM UTC

Hi David, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and we suggest you use enableRowHover property as false to avoid the background color when hovering the mouse in grid. 
Please refer the below code example. 
<ej-grid id="Grid" datasource=ViewBag.data allow-selection="false" enable-row-hover="false"> 
        <e-column field="EmployeeID" is-primary-key="true" header-text="EmployeeID" text-align="Right" width="30"></e-column> 
        <e-column field="CustomerID" header-text="CustomerID" width="80"></e-column> 

We have also prepared a sample that can be downloaded from the below link. 

Also please refer the documentation link. 

Please let us know if you need further assistance. 

Manisankar Durai. 

Live Chat Icon For mobile
Up arrow icon