Closed hmzxpcm closed 1 year ago
refetchEvents only works in conjunction with eventSources. In your case, try using the addEvent method.
in my case, I need to update a lot of events, EventSource judging by the description does not suit me, there is a chance that you add a method to update all events
Ok. What about ec.setOption('events', newEventsArray)
?
it works, thanks!
I am trying to add an event in a second and call refetchEvents, but the calendar is not updated. Tell me what I'm doing wrong?
https://jsbin.com/liluceviba/edit?js,console,output