Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FullCalendar - Only display 'allDay' slot when in agenda view (weekly or daily)

My application only deals in full day events, so I'd like to be able to only display the allDay section for agendaViews. See screen shot below. I want to hide the areas highlighted in red.

Calendar widget: http://arshaw.com/fullcalendar/

Screens: enter image description here

enter image description here

like image 457
PercivalMcGullicuddy Avatar asked Dec 06 '22 02:12

PercivalMcGullicuddy


1 Answers

You can use "basicWeek" and "basicDay" view,

$('#myCaledarId').fullCalendar({
      header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,basicWeek,basicDay'
        }
});
like image 94
vhstrejo Avatar answered Feb 20 '23 15:02

vhstrejo