gantt
gantt copied to clipboard
different color for project and tasks
Hello how can i have a color for a main task (a project) and different color for all dependent tasks ??? regards António
First,define custom class such as: .gantt .bar-maintask .bar { fill: SeaGreen ; }
Second, in the task add the custom_class,such as: { start: '2018-10-08', end: '2018-10-10', name: 'Deploy', id: "Task 4", progress: 0, dependencies: 'Task 2', custom_class: 'bar-maintask' }