I try to delete an event using event's date. I see in documentation like the following
idOrFilter may also be a filter function that accepts one Event Object argument and returns true if it should be removed.
So, I just try like the following
$('#calendar').fullCalendar('removeEvents', event.start);
It's no difference with removing with id.
Why I try to remove using event date is I have an event and it can be drag and drop to the calendar's difference date. Like this example . And I just want to delete event from specific date. But now it's just removing all the events. I appreciate all of helps.
You need to specify the ID of the event object that you want to remove.
$('#calendar').fullCalendar('removeEvents', "ID");
If you do not specify any ids, it will simply remove all events.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.