Our pure JavaScript Scheduler component


Post by melazhadi »

Hello,

I created a custom viewpreset I would like to know what is the parameter for example to display a single week or a single month or a single day

thanks

Post by pmiklashevich »

Please see defaultSpan config. If no end date is applied to the scheduler, middle header unit is considered a defaultSpanUnit and defaultSpan is a value. Also when you switch presets you can use zoomTo method which accepts preset, start date, end date.
For the other configs please check PresetManager class (lib/Scheduler/preset/PresetManager.js) and docs: https://www.bryntum.com/docs/scheduler/#Scheduler/preset/PresetManager

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply