What is the difference if I edit the task_class or decouple the js from css using pure css besides being able to add logic before style change?
gantt.templates.task_class = function (start, end, task) {
if (task.type === gantt.config.types.project)
return "gantt-project-task";
return false;
};
or this approach just modifying the gantt class directly?
.gantt_project {
background: black !important;
}