FullCalendar Switch View

问题描述

| 我的JQuery FullCalendar插件正在网页上运行。页面首次加载时,我的显示默认为“月视图”。同样,在设置了selectable:true之后,用户可以在Month View中选择日期。此时,如果用户从顶部菜单中选择“日视图”,我想向用户显示所选日期的日视图(agendaDay)。但是,当前显示当天的日视图。这是代码:
<script language=\"javascript\" type=\"text/javascript\">
$(document).ready(function () {
    $(\'#calendar\').fullCalendar({
        selectable: true,unselectAuto: true,firstDay: 1,header: {
            left: \'prev,next today\',center: \'title\',right: \'month,agendaWeek,agendaDay\'
        },events: {
            url: \'CalendarJSON.aspx\',type: \'POST\'
        }
    })
});
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)