Can tasks customize colors?

hello,Can I customize the color of the task?
For example, gray task completed, green task in execution, blue task not executed
thank you!

Hi @isWFF,
Yes, you can do this. In order to add different colors to tasks, base on their parametres(like progress) you can use gantt.templates.task_class
API:
https://docs.dhtmlx.com/gantt/desktop__colouring_tasks.html#redefiningthetaskstemplate

To change the progress bar color, you should use this rule:
.gantt_task_progress { background: aqua; }

Here is the snippet that demonstrates how does it work:
http://snippet.dhtmlx.com/ff41e168f

Thank you very much!