Hello, I would like to know if there is anything to modify default 1 hour increment(Interval Sizes) of Calendar, like pointed out in screenshot. I want to make it customizable, So it Will display intervals based on Preferences, which User chooses.
I want to change this sizes dynamically if possible
Support Forum
Hello tornikezhizh,
You can use https://www.bryntum.com/docs/calendar/api/Scheduler/data/TimeAxis#config-generateTicks to customize the timeaxis as you want, you can check this demo to see in action https://bryntum.com/examples/scheduler/timeaxis/
Best regards,
Márcio
Oh, I see, sorry. So, for dayView (and similars) you can use this property https://www.bryntum.com/docs/calendar/api/Calendar/widget/DayView#config-increment
Best regards,
Márcio
If I understand correctly, you want to change the row height at which the 15 minute interval label is shown or hidden.
This is the config: https://www.bryntum.com/docs/calendar/api/Calendar/widget/DayView#config-hourHeightBreakpoints
The increment
config is the granularity for snapping during dragging and resizing.
Or, from another read of the post, if you want to change the initial hour height, then this: https://www.bryntum.com/docs/calendar/api/Calendar/widget/DayView#config-hourHeight
The user can also zoom in or out using CTRL+mousewheel