Max events #294
-
I'm trying to limit the maximum amount of events that can display in one day. dayMaxEvents doesn't seem to accept a number and neither does setting it to true do anything - am I supposed to define the height of a day somewhere also for this to work? Or is there some other way that I can achieve to define a specific number of maximum events? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Okay, well, it seems to work in some way. As you can see on 13th July it shows "+1 more" despite that day cell being smaller than 23th July. Any idea why? What are the variables that it uses to decide when to display it? |
Beta Was this translation helpful? Give feedback.
When
dayMaxEvents
istrue
, all days must have equal height, meaning the calendar's height must be distributed evenly across all rows. Accordingly, if an event does not fit into the given day dimensions, then it is hidden.From your screenshot I can see that the heights of your days are different. Perhaps some of your styles affected this. See if the
div
that hasec-body
has anec-uniform
class?