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

Why the text cell is not red in this example

Thread ID:





145443 Jun 21,2019 10:14 PM UTC Jun 24,2019 09:36 AM UTC Vue 1
Tags: Data Grid
Asked On June 21, 2019 10:14 PM UTC


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 ?

Thavasianand Sankaranarayanan [Syncfusion]
Replied On 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. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon