0
我工作的jQuery fullcalendar plugin.I做了代码,默认情况下,显示整个星期的看法,但我想在一段时间后显示3天的onclick按钮显示下一天。我可以如何做到这一点?想在fullcalendar插件的周视图一次显示3天
enter code here
$( '#日历')fullCalendar({ 默认视图:。 'agendaWeek',
});
我工作的jQuery fullcalendar plugin.I做了代码,默认情况下,显示整个星期的看法,但我想在一段时间后显示3天的onclick按钮显示下一天。我可以如何做到这一点?想在fullcalendar插件的周视图一次显示3天
enter code here
$( '#日历')fullCalendar({ 默认视图:。 'agendaWeek',
});
你想要什么解释相当好可能是像这样:http://jsfiddle.net/z0au4L8x/1/
$('#calendar').fullCalendar({
header: {
center: 'agendaThreeDay' // buttons for switching between views
},
views: {
agendaThreeDay: {
type: 'agenda',
duration: { days: 3 },
buttonText: '3 day'
}
},
defaultView:'agendaThreeDay'
});
可能有[Full calenda r 3天议程自定义视图](https://stackoverflow.com/questions/26276331/full-calendar-3-days-agenda-custom-view) – 2017-11-21 11:54:09