[英]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.