Show more config react big calendar

1.7k Views Asked by At

How to change limiting of show more events in view Month on react big calendar? I want to have "2 show more" in month view of react-big-calendar. Actually, I have "3 show more" and plus.

2

There are 2 best solutions below

0
On

Just add showAllEvents boolean prop to have the calendar put them all in a scrollable 'date cell'.

0
On

How many are displayed in the 'date cell' is dependent upon the height you have given to the parent container around your Calendar. The Calendar will display as many items as it can with a '+x Show More' link, with 'x' being however many more events you have on that day. Or you can use the new showAllEvents boolean prop to have the calendar put them all in a scrollable 'date cell'. (The documentation site is not yet updated for this prop, though you can see the new docs by cloning the repo and running the 'examples')