Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fullCalendar - Event title and detail

Tags:

I'm using the pretty fullCalendar jQuery plugin.

I'd like to be able to have a title AND a detail on each event as in the screenshot below:

Here the details are the participants for each session. (overflow hidden on the detail)

like image 871
Pierre de LESPINAY Avatar asked Oct 13 '10 08:10

Pierre de LESPINAY


People also ask

How do I filter events in fullCalendar?

change(function(){ filter_id = $(this). val(); if (filter_id != 'all') { var events = $('#mycalendar'). fullCalendar( 'clientEvents', function(event) { if((filter_id == 'all') ) { return true; }else{ //what I need to write here to dynamic filter events on calendar? }); } });

What is the use of fullCalendar?

FullCalendar generates real React virtual DOM nodes so you can leverage Fiber, React's highly optimized rendering engine.


1 Answers

See This (Eureka's Answer)

eventRender: function(event, element)
{ 
    element.find('.fc-event-title').append("<br/>" + event.description); 
}
like image 78
orolo Avatar answered Nov 04 '22 22:11

orolo