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

Angular Scheduler button onclick changes time header

Asked by Bcos
7 months ago.

Hi,

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]
7 months 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:
https://code.daypilot.org/12302/angular-scheduler-zoom

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