Task colors - examples source code not complete?

Hi,
The basic initialization example has a green color for the tasks. I’ve been trying to reproduce this, but I get blue lines all over.

Is the part that adjusts the colors not included in the sample?

I the mean time I was able to get those rows green by adding something to the CSS. I still don’t understand why it is green in the demo. It seems to use exactly the same CSS as other samples where everything is blue.

.gantt_task_line.gantt_dependent_task {
   --dhx-gantt-task-background: #65c16f;
}

Hello Tom,
If you mean that the project tasks don’t get the green color - it should work that way if you are using the Standard (GPL) version. It doesn’t have the feature of different task types:


https://docs.dhtmlx.com/gantt/desktop__task_types.html

So, when you load a dataset with projects, you get regular tasks:


You can experiment with different versions in the snippet tool to see the difference: