refetchEvents problem
Closed this issue · 4 comments
hmzxpcm commented
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?
vkurko commented
refetchEvents only works in conjunction with eventSources. In your case, try using the addEvent method.
hmzxpcm commented
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
vkurko commented
Ok. What about ec.setOption('events', newEventsArray)
?
hmzxpcm commented
it works, thanks!