How to provide color to specific row of scheduler timeline

Hello @dekts,
here are the templates for working with the Timeline view:
https://docs.dhtmlx.com/scheduler/timeline_view_templates.html
In order to change the background color of the section, please use the{timelineName}_scaley_class template:
https://docs.dhtmlx.com/scheduler/api__scheduler_{timelinename}_scaley_class_template.html
For changing the row please try to use the {timelineName}_cell_class template:
https://docs.dhtmlx.com/scheduler/api__scheduler_{timelinename}_cell_class_template.html
These two classes return the name of the class in which you set the background_color property. Here is a related sample:
https://snippet.dhtmlx.com/5/f7bcb6e36

1 Like