cancel
Showing results for 
Search instead for 
Did you mean: 

OverlapCalendar loading error

Chad_He
Participant
0 Kudos

Dear Experts,

Because the fiori version of my DEV environment is 1.28.28, so I have to use OverlapCalendar instead of PlanningCalendar.

I'm verifying OverlapCalendar in Web IDE, but there is error when loading page.

There is no error message in console and I found that CalendarRenderer.js can't be loaded.


sap.ui.define([

    "sap/ui/core/mvc/Controller"

], function(Controller) {

    "use strict";

    return Controller.extend("Verification.controller.OverlapCalendar", {

            onInit: function() {

                var oEvent = new sap.me.OverlapCalendarEvent({

                    startDay:"/Date(1464566400000)",

                    endDay:"/Date(1464566400000)",

                    type:"02",

                    name:"testDate"    });

                this.byId("id_calendar1").insertCalendarEvent(oEvent,0);

            }

    });

});

Is there anyone has clue about it?

Best Regards,

Chad

Accepted Solutions (1)

Accepted Solutions (1)

Chad_He
Participant
0 Kudos

I solved the issue.

I set the 'startDay' of OverlapCalendar and 'row' of OverlapCalendarEvent.

Chad

Answers (0)