Reputation:
I'm using this calendar I want to display the calendar in day wise from month wise, by default it shows a monthly.
I am working on laravel 5.2.
Please let me know how to do it?
Upvotes: 1
Views: 1418
Reputation: 6646
After you've added the events to the calendar, you can set options for the calendar:
$calendar = Calendar::addEvents($events)->setOptions([
'defaultView' => 'agendaDay'
]);
All the types of defaultViews are found here.
Upvotes: 3