| Issue 1167: | undo removeEvents | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Im using your plugin and love it.
I am however having a problem with adding events back to the calendar after they have been removed with the removeEvent method.
I have a JSON object containing all of the calendar events a user should see. A list is populated with checkboxes to give the user the ability to show and hide events by category via the following code.
var value = $(this).val();
$('#calendar').fullCalendar('removeEvents', function(event) {
return event.subscription == value;
});
I would like to show/render the events that the user chose to hide when they re-check the appropriate box without reloading the whole page and JSON source but keep other events that are unchecked, removed.
is there a way to do this by using the same data I used to remove the events?
ie.
return event.subscription == value;
Nov 7, 2011
#1
Deac.Ka...@gmail.com
Jan 10, 2012
currently, the best solution is to separate events into array "event sources", and then dynamically add or remove them with addEventSource and removeEventSource
Status:
Done
|
|
| ► Sign in to add a comment |