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

Why the text cell is not red in this example


consider this example about customizing the cell style of a datagrid:

I'm wondering why in this example the color of the "Customer ID" cells does not change to red, according to this style:

  .e-grid .e-rowcell.customcss{
    background-color: #ecedee;
color: 'red';
    font-family: 'Bell MT';
    font-size: 20px;

Can you explain me the reason?

What changes can be made to this example in order to change the text color of "Customer ID" to red ?

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team June 24, 2019 09:36 AM UTC

Hi Silvio, 
Greetings from Syncfusion support. 
We are able to reproduce the issue from the documentation side. We have logged an documentation task for the mentioned issue and it will be refreshed online ASAP. 
Until then we suggest you to use the below sample link for your requirement. 
Thavasianand S. 

Live Chat Icon For mobile
Up arrow icon