Issue 756: How to detect if calendar has rendered all events from 'eventSources'
Status:  Duplicate
Merged:  issue 753
Owner: ----
Closed:  Dec 2010
Reported by rol...@liebl.ath.cx, Dec 12, 2010
I have a main calendar where events are injected by 'eventSources'.

I'm trying to detect when the main calendar has finished rendering all external events and then to inject main calendar's events into an other calendar by ...

events: $('#main').fullCalendar('clientEvents'),

'isLoading' (false) does not do the job. It seems it is fired when first event source has finished to load.

Any advice?

I'm sorry if this is not the right place to ask for support on a bug tracker site. Is there a support forum anywhere?
Dec 20, 2010
#1 rol...@liebl.ath.cx
Up!

This is urgent for me. Please help:

loading: function(isLoading, view){
  if(!isLoading){
    alert($('#upcoming').fullCalendar('clientEvents').length);
    setTimeout("alert($('#upcoming').fullCalendar('clientEvents').length)",5000)
  }
},

I have several event sources (type urls). In my case the first alert returns 96, the second delayed alert returns 996. I need urgently a method to detect if all events of the main calendar are present in browsers memory. The goal is to feed a second calendar with this events by .fullCalendar('clientEvents').   
Dec 31, 2010
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 753
Jun 14, 2011
#3 mjfrosa...@gmail.com
They have an example here, where the duplicates are removed.  You check when the calendar is empty before adding additional sources.
http://coderrific.com/index.php/forum/detail/removing_all_eventsources_in_jquery_fullcalendar_plugin#Answers