1
Personally I have very little knowledge in js, but I’m kind of trying to adjust the fullcalendar to a system I’m creating. I need that instead of it initializing directly for "month", I would like the first screen to be "week".
1
Personally I have very little knowledge in js, but I’m kind of trying to adjust the fullcalendar to a system I’m creating. I need that instead of it initializing directly for "month", I would like the first screen to be "week".
1
When calling fullcalendar, add defaultView: 'agendaWeek'
.
Example:
$('#calendar').fullCalendar({defaultView: 'agendaWeek'});
To change the view dynamically use changeView
.
Example:
$('#calendar').fullCalendar( 'changeView', 'agendaWeek' );
Browser other questions tagged javascript fullcalendar
You are not signed in. Login or sign up in order to post.
It worked perfectly... Thank you!
– Raphael Sanches