My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1127: Calendar does not scale when height, contentHeight are greater than natural height (Agenda View)
3 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Oct 2011


Sign in to add a comment
 
Reported by jonat...@nuams.co, Sep 28, 2011
Adam, thanks for the fantastic and ambitious work.

I am using FullCalendar in an application where many short events (as short as 5 minutes) are displayed on a Calendar Agenda View.

I set the height and contentHeight parameters expecting the height of an individual "cell" on the calendar to increase and scale up such that the total height of the calendar would be equal to the value I specified, thus allowing increased resolution to view all of the event data.  

It appears that the height of a calendar "cell" (hour) is fixed, ie the height parameter is not respected when the natural height is less than the specified height.

See screenshot:

https://img.skitch.com/20110929-x3prhaddc65bwsk5r74qfkij9b.png

If this is by design, can you recommend a method that I might use to force a larger height?  If i could specify the height of an "hour" (or the whole page), that would be great-tastic.

Oct 2, 2011
Project Member #1 adamrs...@gmail.com
yeah, the height of each row is static. it won't change based on the calendar's height or contentHeight. You can tweak the height of the row w/ css:

    .fc-agenda-slots td div {
        height: 30px !important;
    }

but that is a one-time thing that is also static.

to get exactly what you want, this feature would have to be built, but i personally wouldn't really like the behavior because if you had few rows and a tall screen, row heights could potentially be 100px+ tall, which i think would look weird. if more people ask for this, ill think about it more
Status: Done
Oct 3, 2011
#2 jonat...@nuams.co
Thank you for the response.  Providing a static value for height will work for me, or I can override it.
Sign in to add a comment

Powered by Google Project Hosting