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: Getting updated Information before showing preview

Getting updated Information before showing preview 15 years 3 months ago #11

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
I have calendar on which event information could have changed after I have loaded my calendar.

How do I show the updated Event? or periodically update the calendar to show the latest event properties?

Please Log in to join the conversation.


Team Web2Cal.

Re:Getting updated Information before showing preview 15 years 3 months ago #12

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Yes you can get the updated information when user clicks on the event by providing implementation for "onUpdateEvent" callback function.

Regarding periodically checking for new events, This is something you can do it outside of the calendar. With a window.setTimeout("checkForEvents()", 10000);

function checkForEvents()
{
var newEvList = getNewData();
ical.render();
}

But remember, this may hinder any current operation user may be doing. In future we are considering render to be synchronized method, in the sense, no other operation can happen / be happening when render is invoked

Let us know if this helps

Please Log in to join the conversation.


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

LATEST IN FORUM

  • No posts to display.

ABOUT US