How can I change viewPreset dynamically in scheulerPro?
I saw the document below, but I could not find anything to do it.
https://www.bryntum.com/docs/scheduler-pro/api/Scheduler/preset/ViewPreset#events
Is there some sample or document?
How can I change viewPreset dynamically in scheulerPro?
I saw the document below, but I could not find anything to do it.
https://www.bryntum.com/docs/scheduler-pro/api/Scheduler/preset/ViewPreset#events
Is there some sample or document?
viewPreset
is both configuration option and property (i.e. can be changed at runtime) so the simple assignment is used:
schedulerpro.viewPreset = 'hourAndDay';