Hello,
Is it possible to modify a milestone color ?
I’ve been able to change a task (time period) color with this method :
gantt.templates.task_class = function(start, end, task){
return retirement_period; //a css class I’ve created
};
Since retirement_period is just after the default value in the created div “task_id”, it overwrites the default value defined in dhtmlxgantt.css :
class=“gantt_task_line retirement_period”
But with a milestone, my css element defined in task_class is before the default value (gantt_milestone) in the created div “task_id”, consequently, it does not overwrite it :
class=“gantt_task_line retirement_period gantt_milestone”
Is it possible to overwrite the color defined in gantt_milestone without modifying dhtmlxgantt.css ?