Jquery Fullcalendar Trouble With Invoking Rerenderevents From Ajax Success
For some reason, I cannot get the calendar to rerender after a POST. All goes well up to that point: $('#calendar').fullCalendar({ ... select: function (startDate, endDate
Solution 1:
Try:
$('#calendar').fullCalendar("refetchEvents");
Update 2013-01-31.
That works because you are forcing FC to reread the event source and render the calendar again.
However, if that is sometimes a brute force solution, another way to achieve the same (when possible) is to do this, say in dayClick
when creating a new event:
- update event-DB using
$.ajax
- create the corresponding new event:
yourcal.fullCalendar('renderEvent', {id:x,start:timest,end:timend,title:txt}, true);
Post a Comment for "Jquery Fullcalendar Trouble With Invoking Rerenderevents From Ajax Success"