My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 325: Rerender Problem
2 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Feb 2010


Sign in to add a comment
 
Reported by yiqiang%...@gtempaccount.com, Feb 4, 2010
I am building a quite complicated event management system using full
calendar + colorbox. After quite a while try out, i have almost completed
except one last problem - Refetch the event. Basically the sequence of this
system is user click on anyday of the full calendar -> colorbox pop out ->
something for user to do to update the events to mysql database -> when
user close the colorbox, fullcalendar refetch all events from the mysql.

i used code like

$.fn.colorbox({width:"50%", inline:true,href:"#ajax_plan",
onClosed:function(){
$('#planList').html("");
$('#planDate').attr('value','');
$('#ajax_plan').css('display','none');
$('#calendar').fullCalendar( 'rerenderEvents' )
}
}); 

unfortunately the full calendar do refresh but cannot rerender events, new
events cannot pull from the db, still the old result shows. Please help. Thanks
Feb 6, 2010
Project Member #1 adamrs...@gmail.com
try the refetchEvents method 
(http://arshaw.com/fullcalendar/docs/event_data/refetchEvents/) :)
Status: Done
May 19, 2011
#2 m3tropo...@gmail.com
I'm doing a similar thing, and when I change the date for an event (using the event object) then try 'rerenderEvents', nothing happens.

Using 'refetchEvents' does work. So, what does 'rerenderEvents' actually do? 

Thanks! I was getting bald over this problem....now my hair can grow back.
May 19, 2011
#3 m3tropo...@gmail.com
Actually, never mind - just saw  issue 790 , and I'm using 1.4.9.....
Sign in to add a comment

Powered by Google Project Hosting