0
我已經從日曆的標題中刪除了一天。在FullCalendar中禁用basicDay視圖
我無法確定的是如何刪除basicDay視圖的數字和禁用的「鏈接」。
我只是想要用戶有月和周。
This is how my calendar looks like
This is the thing I want to disable
我已經從日曆的標題中刪除了一天。在FullCalendar中禁用basicDay視圖
我無法確定的是如何刪除basicDay視圖的數字和禁用的「鏈接」。
我只是想要用戶有月和周。
This is how my calendar looks like
This is the thing I want to disable
感謝@ADyson
我設置navLinks爲false,它固定它。
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,basicWeek'
},
firstDay: 1,
navLinks: false
});
你能在'jsfiddle'複製這個問題或分享您的代碼 – Amal
再檢查一下你的fullcalendar的'dayClick'選項 –
確保您設置navLinks假:https://fullcalendar.io/docs/mouse/navLinks/。如上所述,還要檢查您的dayClick事件處理程序是否包含導航到新視圖的代碼。 – ADyson