FullCalendar display week events like it is in ''months"
i'm building a system using the fullcalendar plugin and i have one problem. When there is a couple of events on the same day, the way it is displayed on week view
is too confusing.
Here is an actual image from the page:
I'd like to know if is it possible to change it to be like it's in the month view. When have more than n
events, then it will show the more +n
button.
$('#agenda').fullCalendar({
windowResize: function(view) {},
editable: true,
eventLimit: 3,
eventOverlap: false,
slotEventOverlap: false,
height:800,
allDaySlot: false,
[... more code ...]
});
Try like this.. The basicWeek view will not have any spaces if events are not there..
$('#calendar').fullCalendar({
header: {
left: 'prev,next,today',
center: 'title',
right: 'month,basicWeek'
},
allDayDefault: false,
slotDuration: '00:15:00',
allDaySlot: true,
defaultView: 'basicWeek' // basicWeek does what you need, either call the view or set as defaultView
});
How it is in my app :
链接地址: http://www.djcxy.com/p/14264.html