FullCalendar show events in week and day view only but not in month view

My fullcalendar has - "Month|Week|Day" view , I want to remove or hide events from "Month" only but show in "Week" and "Day" views.

Can you please tell me how to do this?


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

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

上一篇: 显示没有结束日期的事件

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