| Issue 216: | removeEvents only removing events for current month | |
| 1 person starred this issue and may be notified of changes. | Back to list |
when i run:
$('#calender).fullCalendar('removeEvents');
its only removing events from the current month and not others.
Is there a way to remove all events or a group of events? Could i have an
example of how to use the filter function. Is it?:
$('#calender).fullCalendar('removeEvents', function(calEvent) { return
calEvent.className == 'gpcss' });
The above is not working.
P.S. great plugin btw!
Dec 3, 2009
Project Member
#1
adamrs...@gmail.com
Dec 5, 2009
You were right. Removing events from other months only works if you change the result of your json- events.php What I do now is update the sql search based on user options within json-events.php and then use the refetchEvents method. I also use this technique for adding and editing events i.e. update the database and then refetchEvents. Seems to work quite well as I could never get the addEvent or removeEvent to work smoothly. Thanks again for the great plugin.
Dec 20, 2009
no problem, glad you got it to work.
Status:
Done
|
|
| ► Sign in to add a comment |