Issue 1252: Pass extra params with ajax call and return events without reinitiating calendar
Status:  WontFix
Owner: ----
Closed:  Aug 2013
Reported by paul.wol...@gmail.com, Jan 22, 2012
Is there a way to pass parameters? So we can get specific items back?

ok, i found a way: first remove them and then add them.

$('#calendar').fullCalendar('removeEvents');
$('#calendar').fullCalendar( 'addEventSource', "command/cal_events.php?action=get&cal_id=" + cal_id );

Would be nice if there was a function that did this all together.

eventsources and events does it all together, but then the whole calendar initiates again, i don't want that

In another comment from 2009 the answer: 'use refetchEvents' ...
But then i can't pass more parameters ...


Aug 14, 2013
Project Member #1 adamrs...@gmail.com
not sure i understand the issue, but you can pass extra params to the ajax call:
http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/

you can just add in any parameter that jQuery's $.ajax accepts
Status: WontFix
Aug 14, 2013
#2 paul.wol...@gmail.com
Adam, great you are back on the calendar!
You can remove this issue, when i wrote this question i just started with fullcalendar and didnot know how everything worked..