Premium support for our pure JavaScript UI components


Post by Shinya Umeshita »

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?


Post by saki »

viewPreset is both configuration option and property (i.e. can be changed at runtime) so the simple assignment is used:

schedulerpro.viewPreset = 'hourAndDay';

Post by Shinya Umeshita »

Thank you saki.
I was able to change it successfully.


Post Reply