How can i set multiple working shift in a day


#1

How to color timeline column ?. I have 24 hours timeline so i want first 8 column to have x color and next 8 column should have a y color and next 8 column should have a z color. how can we do that?

image


#2

Hello Nitish,
To highlight the timeline cells, you need to use the timeline_cell_class template:
https://docs.dhtmlx.com/gantt/api__gantt_timeline_cell_class_template.html
There, you can return the class name for the timeline cells and use it in the style rules.
Here is the snippet:
http://snippet.dhtmlx.com/5/8488ebf55