Only month view in fullcalendar (remove/Hide “Day” and “Weeks” view)
问题 My fullcalendar has - "Month|Week|Day" view , I want to remove or hide the "Week" and "Day" views as we have been using only "Month" View. Can you please tell me how to do this? 回答1: When you start fullcalendar, don't include agendayDay and agendaWeek. Something like $('#calendar').fullCalendar({ header: { left: 'prev,next', center: 'title', right: 'month' } }); Update: To get rid of the month button: $('#calendar').fullCalendar({ header: { left: 'prev,next', center: 'title', right: '' } });