How can I load all events on calendar using Ajax?

后端 未结 4 1910
囚心锁ツ
囚心锁ツ 2021-02-01 08:39

I want to load all events on FullCalendar using AJAX when I clicked next-previous-button in agenda-views.

I guess, when will click on

4条回答
  •  我在风中等你
    2021-02-01 09:31

    There is a built in option avaliable

    var calendar = new FullCalendar.Calendar(calendarEl, {
        events: '/myfeed.php'
    })
    

    more details https://fullcalendar.io/docs/events-json-feed

提交回复
热议问题