Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: how to integrate third party calendar api in sapui5 application

$
0
0

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


Viewing all articles
Browse latest Browse all 2638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>