Fullcalendar 如何在不呈现完整日历的情况下将可选属性标记为false
我想在更改特定视图时将fullcalendar的可选属性标记为false 目前它不工作。 下面是我添加的代码Fullcalendar 如何在不呈现完整日历的情况下将可选属性标记为false,fullcalendar,fullcalendar-scheduler,Fullcalendar,Fullcalendar Scheduler,我想在更改特定视图时将fullcalendar的可选属性标记为false 目前它不工作。 下面是我添加的代码 $("#calendar").fullCalendar('option', 'selectable', false); $("#calendar").fullCalendar('changeView', 'timeLineMonthly'); 其中timeLineMonthly是为fullcalendar定义的视图 我不想再次渲染fullcalendar。我只想触发
$("#calendar").fullCalendar('option', 'selectable', false);
$("#calendar").fullCalendar('changeView', 'timeLineMonthly');
其中timeLineMonthly是为fullcalendar定义的视图
我不想再次渲染fullcalendar。我只想触发changeView事件并将可选选项设置为false。这可以通过在中设置属性来完成
这可以通过在中设置属性来完成
$('#calendar').fullCalendar({
views: {
week: {
selectable: false
},
timeLineMonthly: {
selectable: true
}
}
});