help regarding changing the task text color.


I am checking the progress of the task , if the progress of the task is not as per schedule then the task is highlighted in the red color. The text in the grid also appears in the red color. But as soon as I save a task or add a new task, the color changes to the normal.

I have added the snippet below check this in your local after adding the support of the jquery.

How can the text of the gantt grid be displayed in the red color even after saving/updating of the task?

due the component design, you can’t change styles directly in dom element.
Since you have a fixed styles for certain types of tasks, the coloring can be done using css templates:

Here is a template for elements in a grid area … plate.html