Closed ijunaid8989 closed 5 years ago
@ijunaid8989 what does var events = this.$refs.calendar.fireMethod('clientEvents');
return for you? You also need to refer to the event source id, not the event id itself when using the removeEventSources
method. To remove all events sources, you don't need to pass in the event id; just use:
this.$refs.calendar.fireMethod('removeEventSources');
I just removed this package and moved to FullCalendar as the new version doesn't use any jquery
I have added full calendar as
other methods are working fine. but eventSources is not working as its expected
this is data config
And I am trying to clear all events like this
But instead of clearing it, whenever I load calendar again, it duplicates the events in design. again and again. I have also used
removeEvents
Can anyone tell where I am wrong?