openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Enh. sap.ui.unified.CalendarRow - make number of Sub Intervals configurable

Open jasper07 opened this issue 8 years ago • 4 comments

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;

jasper07 avatar Apr 04 '16 00:04 jasper07

Hi John, I contacted the responsible developer to get his opinion on this.

Thanks! Andreas

akudev avatar Apr 05 '16 08:04 akudev

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

akudev avatar Apr 05 '16 12:04 akudev

Hi Andreas

Thanks for the update.

Outlook Calendar intervals are configurable

outlook_calendar

Cheers John P

jasper07 avatar Apr 06 '16 10:04 jasper07

Hi @jasper07 ,

Enhancement is accepted for implementation and will be planned according to team priorities. BI created: BGSOFUIBALKAN-6344.

Regards, Petya

petyabegovska avatar Apr 21 '22 09:04 petyabegovska