dqjjw04440 2014-07-15 10:21 采纳率: 0%
浏览 824

Fullcalendar显示上个月和下个月的条目如何隐藏此内容

when i dynamically load event in fullcalender at this time preview month entry also be display

Example

if user on July 2014 then last few date of June 2014 is disable but event of that date will be display is there any option to solve this issue

  • 写回答

1条回答 默认 最新

  • dongmao3131 2014-07-15 21:18
    关注

    I had some difficulties understanding your question.... Do you only want the user to see the events of the current (this) month? If so, try this:

    eventRender: function(event, element, view) {
        if(event.start.getMonth() !== view.start.getMonth()) { 
            return false; 
        }
    }
    

    It's simply not rendering them.

    评论

报告相同问题?

悬赏问题

  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?