Hi,
Is it possible to hide the time axis? For some of our calendars, all events are all day so we want to have more space to display these events?
Thanks!
I want to hide the time-based event area (including the time axis and time-slotted events) across all calendar modes (e.g. day, week), and instead let the all-day events section expand to use that space. I’m using this CSS:
.b-dayview-day-content {
display: none !important;
}
This hides the time-based area, but it does not give more space to the all-day events area. How can I remove the time-based UI completely while allowing the all-day events to expand into the remaining space?
Hi,
Are we taking about Timeline mode? https://bryntum.com/products/calendar/examples/calendar-scheduler/
All the best,
Alex Lazarev
How to ask for help? Please read our Support Policy
We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services
The allDayEvents
property of the DayView
has a maxHeight
of 50%
by default, so that if there are very many events, then when expanded, it still shares space with the time-based event area.
Try configuring it as 100%
to give it authority to take up all the space vacated by the display:none
content area.
We have a ticket to allow CalendarRow
(this is used by DayView
to show all day events) to be used as a mode on its own: https://github.com/bryntum/support/issues/6913
It's not on the road map now, but it is a known possible requirement.
For now, the hiding should work for you.