Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: loadCalendarEvents() : where does it get the list/calendar data from?

loadCalendarEvents() : where does it get the list/calendar data from? 13 years 9 months ago #314

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
I\'m comparing the 2 javascript methods from the examples.

From the calendar example:

Where does it get the list from?
/**
     Method to get Events and display it in the calendar.
     If you need to make an asynchronous call, invoke ical.render in the callback method.
     @param startTime - Calendar Display Range start
     @para endTime - Calendar End Range end
     */
    function loadCalendarEvents(startTime, endTime)
    {   
    		
		ajaxObj.call(\"action=getevents\", function(list){ical.render(list);});
    }  

and in the customtemplates.html

where does does the getCalendarData() function located?
/**
     Method to get Events and display it in the calendar.
     If you need to make an asynchronous call, invoke ical.render in the callback method.
     @param startTime - Calendar Display Range start
     @para endTime - Calendar End Range end
     */
    function loadCalendarEvents(startTime, endTime)
    {   
		ical.render(getCalendarData());
    }

thanks in advance

Please Log in to join the conversation.

phillipkuo.com
Last edit: by philltx.

Re: loadCalendarEvents() : where does it get the list/calendar data from? 13 years 9 months ago #315

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
getCalendarData() is in sampleData.js

Please Log in to join the conversation.


Team Web2Cal.
  • Page:
  • 1
Time to create page: 0.093 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US