[REACT] Configure the Time Headers on the Calendar
Can the time span show on the calendar configured to show duration of 15 minutes or 30 mins instead of the default 1 hour spans?
Can the time span show on the calendar configured to show duration of 15 minutes or 30 mins instead of the default 1 hour spans?
It shows what there is room to show.
If you configure the hourHeight
larger (Or use CTRL+mousewheel) to zoom in which makes the hourHeight
larger, it shows more ticks:
Ho do I set the hourHeight value?
Do I pass it as prop to <BryntumCalendar /> wrapper?
It did not work though.
it's a config of the DayView
class, not of the overall Calendar
class
https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-hourHeight
So either configure it into the day
or week
mode
configs directly.
Or set it in modeDefaults
of the Calendar so it gets configured into the modes (Ones which don't have it will just ignore it): https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modeDefaults
It worked.
Thanks.