[英]FullCalendar 'More' event not display on eventLimitClick
我已經將FullCalendar與ajax請求一起用於“ allDay”事件
並在月視圖中將事件限制設置為每天“ 8”(eventLimit = 8)
日歷顯示“更多”按鈕,其中包含更多事件
但是單擊“更多”時,它不會在彈出窗口中顯示任何事件
單擊“更多”的結果附在下面...( http://i.stack.imgur.com/PJw0e.png )
請幫助,非常感謝。
[編輯:1我試圖更改allDay = false,但結果也相同...]
$('#calendar').fullCalendar({
editable: true,
droppable: true,
dragOpacity: {
agenda: .5
},
selectable: true,
events: {
url: 'xxxx.php',![enter image description here][1]
type: 'POST',
error: function(){
alert('event fetch error');
}
},
eventLimit:{
'agenda': 3, // adjust to 6 only for agendaWeek/agendaDay
'default': true // give the default value to other views
}
}
});
好吧,我自己解決了
將事件定義為具有“結束”日期的“ allDay”的問題原因。
然后從事件數據中刪除“結束”日期,這很好。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.