Hi, Juan,
Thanks for reply.
i finally figured, i need to add content to the page.
return new sap.m.Page( {
title: "MyCalendar",
content: [
myhtml
]
})
One more question,
in controller page.
var a = moment().format('YYYY-MM-DD'); |
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
defaultDate: a, //'2014-06-12',
defaultView: 'month',
editable: true,
events: [
{
title: 'All Day Event',
start: '2016-09-28'
},
{
title: 'Long Event',
start: '2015-09-28',
end: '2015-09-29'
},
]});
},
As you can see i added 2 events, but thats static if i want that to be dynamic. coming from oData.
how it can done.
Please give me some insight on this.
Regards
Adarsh