Personally I have very little knowledge in js, however I'm kind of trying to sort out the fullcalendar for a system I'm creating. I need instead of it to initialize directly by "month", I would like the first screen to be "week".
Personally I have very little knowledge in js, however I'm kind of trying to sort out the fullcalendar for a system I'm creating. I need instead of it to initialize directly by "month", I would like the first screen to be "week".
When calling the fullcalendar function, add defaultView: 'agendaWeek'
.
Example:
$('#calendar').fullCalendar({defaultView: 'agendaWeek'});
To change the view dynamically use changeView
.
Example:
$('#calendar').fullCalendar( 'changeView', 'agendaWeek' );