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

Grid row hover and selection

I have the grid column data left justified.  However, when i hover over a row or select a row, the data right justifies.  I added the styling below, but that did not seem to help.  What am I missing?

<style>
        .e-grid td.e-active {
            background: #a7a6fc;
            color: black;
            font-weight: bold;
            text-align: left !important;
        }
        .e-grid .e-alt_row .e-rowcell {
            font-style: italic;
            text-align: left !important;
            color: #700000;
        }

        .e-grid .e-alt_row:hover .e-rowcell {
            text-align: left !important;
        }
    </style>

1 Reply

PS Pavithra Subramaniyam Syncfusion Team August 1, 2019 11:26 AM UTC

Hi Travis, 

Thanks for contacting Syncfusion support. 

We have tried to reproduce the issue at our end but it is unsuccessful. By default Grid columns will be aligned to left. So could you please provide the below details that will be helpful for us to provide a better solution as early as possible. 


  1. Ensure whether you have set the “column.textAlign” property as “Right” in Grid.
  2. Ensure whether any CSS override the default Style.
  3. Share the issue reproducible sample if possible.

Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon