rerendering events in fullCalendar after Ajax database update

后端 未结 7 739
渐次进展
渐次进展 2020-12-08 01:13

I am trying to have fullCalendar reflect changes made to a database via AJAX. The problem is that it won\'t update the calendar on screen after a successful AJAX call.

相关标签:
7条回答
  • 2020-12-08 01:54

    One line does the work:

    $('#calendar').fullCalendar('refetchEventSources', 'eventEditXHR.php')
    

    Late reply, but this should be the most efficient way since 2.8.0

    0 讨论(0)
提交回复
热议问题