Posted on June 14, 2011 by Michael Rosario
Total Posts: 33 | Join date: 03-12-11
removeEvents (method)
removeEventSource (method)
addEventSource (method)
$('#Calendar')
.fullCalendar('removeEvents') //Hide all events
.fullCalendar( 'removeEventSource',$('.Source').val()) //remove eventSource from stored hidden input
.fullCalendar( 'addEventSource', newSource); //Add a new source
Tags: There are no tags for this entry.
Posted on on June 15, 2011 at 1:28am
by Michael Rosario
$('#Calendar').fullCalendar( 'removeEvents').fullCalendar('removeEventSources'); //Removes all event sources
if($('#Calendar').fullCalendar( 'clientEvents') == "") { $('#Calendar').fullCalendar( 'addEventSource', newsource); } // load the new source if the Calendar is empty
$('#Calendar').fullCalendar('refetchEvents');
//load the eventSource which is always one event source
Posted on on October 2, 2011 at 2:04pm
by Taimi
Posted on on February 11, 2015 at 8:30am
by Eduardo