openui5
openui5 copied to clipboard
Enh. sap.ui.unified.CalendarRow - make number of Sub Intervals configurable
OpenUI5 version: 1.34
A requirement has come up a number of times from customers to make the Sub Intervals on a Calendar row configurable.
As/Is the number of Sub Intervals are hard coded, example when working a time interval of hours there are 4 sub intervals shown, this equates to 15 minutes,
We have a requirement when working with the sap.m.PlanningCalendar to configure the sub interval based on the appointment use case, some appointments are 20 minutes, some are 30 minutes
CalendarRowRenderer.renderInterval
...
if (oRow.getShowSubIntervals()) {
var sIntervalType = oRow.getIntervalType();
var iSubIntervals = 0;
switch (sIntervalType) {
case sap.ui.unified.CalendarIntervalType.Hour:
iSubIntervals = 4; <=== would like this to be configurable
break;
case sap.ui.unified.CalendarIntervalType.Day:
iSubIntervals = 24;
break;
Hi John, I contacted the responsible developer to get his opinion on this.
Thanks! Andreas
Hi John, I forwarded this suggestion to our user interaction designers to get their view on it. Do you know whether MS Outlook supports changing the subintervals?
I'll give an update when I receive feedback, but personally I wouldn't expect this to get a high priority...
Regards Andreas
Hi Andreas
Thanks for the update.
Outlook Calendar intervals are configurable
Cheers John P
Hi @jasper07 ,
Enhancement is accepted for implementation and will be planned according to team priorities. BI created: BGSOFUIBALKAN-6344.
Regards, Petya