FullCalendar仅在周视图和日视图中显示事件,但不能在月视图中显示

我的fullcalendar有 - “Month | Week | Day”视图,我只想从“Month”中删除或隐藏事件,但在“Week”和“Day”视图中显示。

你能告诉我该怎么做吗?


好的,我已经完成了,我想分享给大家,所以它会帮助别人

eventRender: function(event, element, view) {
    if(view.type == 'month') {
      $(element).css("display", "none");
    } else {
      element.attr('title', event.address);
    }
}
链接地址: http://www.djcxy.com/p/14267.html

上一篇: FullCalendar show events in week and day view only but not in month view

下一篇: Fullcalendar hide events only in month view