我如何动态设置Fullcalendar选项 [英] How can I set Fullcalendar options dynamically

查看:590
本文介绍了我如何动态设置Fullcalendar选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在日历创建后设置 minTime maxTime 选项?

How can I set the minTime and maxTime options after the calendar is created?

我尝试了下面的方法,这是行不通的:

I tried the following, which doesn't work:

$('#calendar').fullCalendar('option', 'minTime', 7);
$('#calendar').fullCalendar('render');


推荐答案

无法重做日历,无法完成

Can't be done without recreating the calendar.

更新:
可在v 2.9中完成:请参阅以下

这篇关于我如何动态设置Fullcalendar选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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