rerenderEvents / refetchEvents problem

后端 未结 5 1955
情歌与酒
情歌与酒 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:41

    Thanks for the help!

    Here is what worked based on Scoobler's suggestions the steps that work are (1) removeEvents. (2) addEventSource, (3) rerenderEvents.

    $('#calendar').fullCalendar('removeEvents');
    $('#calendar').fullCalendar('addEventSource', 'JsonResponse.ashx?technicans=' + technicians);
    $('#calendar').fullCalendar('rerenderEvents');
    

提交回复
热议问题