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

Angular Scheduler button onclick changes time header

Asked by Bcos
14 days 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]
14 days 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

New Reply
This reply is
Your name (optional):