Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
179
rated 0 times [  180] [ 1]  / answers: 1 / hits: 21830  / 9 Years ago, thu, february 26, 2015, 12:00:00

Is there a way to limit events per one cell on the bootstrap calendar as appears in attached image?
I want to show it as 2 events and ... X more label in case there's more than 2 events with the same date and prevent stretching the whole calendar.



enter


More From » jquery

 Answers
19

Try the following.



With the new build v2.1.0-beta2 Launch 17 days ago Arshaw did the following




RESOLVED ISSUES:



Max events with more... link (304) Don't fire
eventMouseover/eventMouseout while dragging/resizing (1297) NEW
OPTIONS:



eventLimit event
LimitClick
eventLimitText
dayPopoverFormat




Source



So, you can do the following:



$('#calendar').fullCalendar({
lang: 'en',
eventLimit: true, // If you set a number it will hide the itens
eventLimitText: Something // Default is `more` (or more in the lang you pick in the option)
});


tooked from: Fullcalendar, required files for limit number events per day with view more/ more button?


[#67666] Tuesday, February 24, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jerome

Total Points: 592
Total Questions: 98
Total Answers: 101

Location: Tonga
Member since Tue, Nov 30, 2021
3 Years ago
;