[英]want to display 3 day at a time in week view of fullcalendar plugin
我正在使用jquery fullcalendar插件,默認情況下我做了代碼以顯示整個星期視圖,但是我想一次顯示3天,然后在第二天顯示onclick按鈕,我該怎么做?
enter code here
$('#calendar')。fullCalendar({defaultView:'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'
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.