My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 737: Calendar does not render in a hidden div
3 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Dec 2010


Sign in to add a comment
 
Reported by rol...@liebl.ath.cx, Nov 29, 2010
I'd like to load a calendar in a hidden div. But it seems it does not render. The purpose is to prefetch events and the to feed other calendars by .fullCalendar('clientEvents').

$('#hidden').fullCalendar({

...
      loading: function(isLoading, view){
        if(isLoading) {
          // ...
        }
        else{
          init_other_cals();
        }
      }

});

... init_others() is not called. Do I miss something?
Nov 30, 2010
Project Member #1 althaus.it
IIRC there is a similar issue which states loading() isn't called initially at all.
Dec 18, 2010
Project Member #2 adamrs...@gmail.com
you'll need to call `render` after you know the calendar is visible:
http://arshaw.com/fullcalendar/docs/display/render/
Status: Done
Nov 19, 2014
#3 vivas...@gmail.com
This is super old but thanks for the answer, I was going crazy trying to figure out what was wrong :)  Would be nice if it rendered without having to do the extra line of code, but  this will work.
Sign in to add a comment

Powered by Google Project Hosting