Skip to content
Advertisement

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

Advertisement

Answer

You overcomplicated it. Check the basicViews, http://arshaw.com/js/fullcalendar-1.6.4/demos/basic-views.html and have your events only with start date

{
    title: 'All Day Event',
    start: new Date(y, m, d)
}
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement