如何在全日历jQuery中设置最大和最小日期范围 [英] How to set maximum and minimum date range in fullcalendar jquery

查看:176
本文介绍了如何在全日历jQuery中设置最大和最小日期范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FullCalendar v2.2.5.我需要像在日期选择器中一样在我的全日历中设置最大和最小日期. 禁用所有在最小日期之前和之后的日期. 请帮助我解决此问题. 在此先感谢..

i am working in FullCalendar v2.2.5. i need to set max and min date in my full calender same as we do in datepicker. Disable all those dates before min date and after max dates. Please help me to sort out this issue. Thanks in advance ..

推荐答案

对于我的v3.3.1来说,它是validRange

For v3.3.1 for me works validRange

validRange: {
    start: '2017-05-01',
    end: '2017-06-01'
}

https://fullcalendar.io/docs/current_date/validRange/

这篇关于如何在全日历jQuery中设置最大和最小日期范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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