My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2006: Too many 'all-day' events break the Agenda views. Request for an 'allDayHeight' option.
2 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 304
Owner:  ----
Closed:  Oct 2013


Sign in to add a comment
 
Reported by jesseber...@hotmail.com, Oct 2, 2013
If you are setting a 'height' on either a 'agendaWeek' or 'agendaDay' view and have 'allDaySlot' enabled.

$('#calendar').fullCalendar({
    height : 600,
    defaultView : 'agendaDay',
    allDaySlot : true
});

Then add a lot of 'allDay' events.

You will then only be able to see the 'all-day' events that fit in view and the others will be hidden and the 'time slotted' events will not be able to be seen at all.

To work-around this I have added an 'allDayHeight' option that you can set in pixels that will make the 'all-day' events go into a scrollable section.

I have attached a file with the modifications to 'v1.6.4' with the changes made.  They seem to work for me but I am not sure if there are potential problems with features I don't use...

I would request that an 'allDayHeight' feature of some sort be added so I could handle large numbers of 'all-day' events.
fullcalendar_allDayHeightPatch.js
201 KB   View   Download
Oct 8, 2013
Project Member #1 adamrs...@gmail.com
I'm pretty confident the best solution to your problem is to have a max # of events, and when there are too many, have a "more..." link that displays all of them. merging to a similar issue...
Status: Duplicate
Mergedinto: 304
Oct 9, 2013
#2 jesseber...@hotmail.com
I would agree as long you can specify a max all day events separate from the max events for the day itself in 'agenda' views.

Otherwise, you will still encounter the problem of a lot of events getting dropped into the 'All  Day' bucket and there will be no room for the rest of the calendar in the agenda view.

I had reviewed the bug you merged this into and had decided it was different because I thought it was dealing only with the 'month' view.
Oct 9, 2013
Project Member #3 adamrs...@gmail.com
i merged it in only because it will likely be the same code-path and implementation. i will make sure you are able to granularly specify a different value for agendaWeek
Sign in to add a comment

Powered by Google Project Hosting