rerenderEvents / refetchEvents problem

后端 未结 5 1964
情歌与酒
情歌与酒 2020-12-31 16:01

I am not sure if I am using this correctly so my problem may be my mis-understanding rather than a bug or larger problem.

I have a fullcalendar that gets initiated f

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 16:23

    newEvents = [...]
    
     $('#calendar').fullCalendar('removeEvents');
     $('#calendar').fullCalendar( 'addEventSource', newEvents);
    

    no need to 'rerenderEvents' and works like a charm!

提交回复
热议问题