Fullcalendar仅在月视图中隐藏事件 [英] Fullcalendar hide events only in month view

查看:261
本文介绍了Fullcalendar仅在月视图中隐藏事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是在特定视图中显示事件。
我只需要在月视图中隐藏事件。
因为在月视图中,我已经设置了日期点击重定向到日间视图中的特定日期。并且有彩色的日子取决于事件。

My problem is hidding events in a specific view. I need to hide events only in month view. Because in month view i have set on day click to redirect to the specific day in day view. and have colored days which depends on the events.

所以我需要更好的月度视图,只有彩色的日子。当我点击一天,然后出现所有的事件。

So i need that for better looking month view, with colored days only. and when i click on a day go to that and then appear all events normally.

我尝试过eventLimit,但0值显示所有事件。

I tried with eventLimit but with 0 value show all events.

任何想法?

谢谢

推荐答案

代码:

.fc-month-view .fc-event-container{
    display: none;
}

演示: http://jsfiddle.net/IrvinDominin/ecjvb8b7/

这篇关于Fullcalendar仅在月视图中隐藏事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆