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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

128409 Jan 19,2017 10:34 AM Jan 20,2017 07:45 AM ASP.NET Core 1
loading
Tags: Grid
dsapo
Asked On January 19, 2017 10:34 AM

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


David

Mani Sankar Durai [Syncfusion]
Replied On January 20, 2017 07:45 AM

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-columns> 
        <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> 
    </e-columns> 
</ej-grid> 

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. 

Regards, 
Manisankar Durai. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;