Page 1 of 1

[INFO REQ] how to change scheduler background color

Posted: Fri Dec 02, 2022 10:44 am
by natalija

Hi!

I would like to change the scheduler background color. What would be the best approach if I want to have one color for future days (after today) and another for the past days (before today)?

Thank you!


Re: [INFO REQ] how to change scheduler background color

Posted: Mon Dec 05, 2022 2:55 am
by alex.l

Hi natalija,

Timeline ticks cannot be customized in the way you described. But here is a feature that allows you to add timeRange and apply style you want.
https://bryntum.com/products/scheduler/examples/timeranges/
Check Settings button, headers might be hidden. So you can add timeRange with endDate before today, and another one with startDate from tomorrow and will do the job.
Here is full docs https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TimeRanges