Calendar mode off

I’m using Calendar with mode selector hidden, because I don’t want the user to switch the modes
(I’m using different screens for each calender mode).
However within the month-view it is still possible to click on a date an then the view is changed to day-view and since the mode selctor is hidden it is not possible to switch back to month. This seems to me inconsistent. However, is there a way to block the possibility to switch the mode when the mode selector is chosen to be hidden?
Thanks for any hint.

1 Like

If you have access to custom CSS, please add this in Settings > Appearance > Custom CSS.

.rbc-date-cell button {
pointer-events: none;
}
1 Like

Thank you very much ThinhDinh for your quick support. Unfortunately, I don’t have access to the custom CSS. However, I wonder if this is a bug. Why should it be allowed to change the view if the mode switch is hidden and if you can’t leave the day view again?
Perhaps it is possible to create a workaround with actions so that it is at least possible to return to the monthly view. However, I will need some time for this, as I don’t have much experience with this platform yet.

I agree, I will let the team know about this.

Hi ThinhDinh,
I’m pleased that this point is being followed up. It is certainly not easy to adapt an established function, especially if it is already frequently used. Therefore, I would like to provide some background information on my problem, even though I may not yet know all the possibilities of Glide. I hope my comment is considered helpful.

There is a date field for each entry in my table. You can think of it like an invoice date or a publication date. The exact time does not play a role, as only the day is documented. For this reason, the day view and the week view do not make much sense.

However, I would still like to use the calendar to be able to select or show all entries for a specific date in the monthly or agenda view. The fact that I can only access a date-time field is unpleasant, but I can still deal with it, even if some views also display a random time with no technical meaning. However, it is actually unpleasant that the calendar function assumes appointments in the sense of date and time and accordingly the navigation in the calendar does not take into account the case of purely daily data, which becomes apparent, for example, when jumping from the month view to the day view (perfect would be a jump into the agenda for that day, listing all entries for that date, or even better a trigger of an action that could be freely configured). Even if one could jump back from the day view (e.g. via an active link under the displayed month or similar), I wouldn’t want to get there in the first place.

1 Like

I have asked the team if they would classify this as a bug or a feature request (to remove the ability to click on a specific day number when the “mode selector” is off).

To mitigate this issue in the short-term, you can turn back on the mode selector. If the team believes this is a bug, I will escalate this issue for you and get it on their radar to be fixed.

1 Like

This thread has been escalated. Support will follow up via the Messenger in the Builder or through email.

Best practices when escalating issues to support