jQuery Full Calendar Default View Setting
Use the defaultView
option:
$('#myCalendar'-.fullcalendar({
defaultView: 'basicWeek'
})
- defaultView option
- Available views
Try:
$('#calendar').fullCalendar({
defaultView: 'basicWeek'
aspectRatio: 1.5
});
Ref: FullCalendar Available Views
Edited:
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,basicWeek,basicDay'
},
defaultView: 'basicWeek'
....
To get a calendar with a view of the week and hours:
$('#calendar').fullCalendar({
defaultView: 'agendaWeek'
});