如何检测jquery fullcalendar是否需要从服务器获取事件

How to detect if jquery fullcalendar needs to fetch events from the server?

本文关键字:服务器 事件 获取 是否 fullcalendar 何检测 检测 jquery      更新时间:2023-09-26

我正在加载30天的事件。在每周视图中,我看到它正在工作3/4周。

然后当我点击Next按钮时,我没有看到任何事件。

是否有一种方法/选项来检测插件需要得到新的事件,我是否向前或向后?

您应该定义此函数http://arshaw.com/fullcalendar/docs/event_data/events_function/,并像示例中那样通过ajax从服务器检查和加载事件。