Our state of the art Gantt chart


Post by zhang »

I wanted to set the background color for each task, but when I set the eventColor to 'red', it didn't seem to work. Am I setting it wrong? Reference: https://bryntum.com/docs/gantt/api/Scheduler/view/mixin/TimelineEventRendering#property-eventColor


Post by mats »

eventColor is only relevant for Scheduler (for now). You can set a 'cls' class in your data to style using regular CSS. Or use the https://bryntum.com/docs/gantt/api/Gantt/view/GanttBase#config-taskRenderer to set inline styles.


Post Reply