search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Angular Scheduler button onclick changes time header

Asked by Bcos
4 years ago.


On current time header and scale inside the config has fix the properties such as:

config: any = {
timeHeaders: [{ groupBy: 'Month' }, { groupBy: 'Day', format: 'd' }, {groupBy: 'Hour'}],
scale: 'Hour',

Is that any method can button onclick and changes the scale to Day and immediately reflect on the scheduler chart?

Thank you

Answer posted by Dan Letecky [DayPilot]
4 years ago.

If you change the config.scale value in the button onClick handler the change will be detected and applied automatically.

You can also check the following tutorial which shows how to apply different zoom levels to the Scheduler:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.