Reputation: 573
I am using react full calendar and wondering how I can allow users to change the calendar view to timeGridDay when clicking on a day in the monthly view.
Upvotes: 2
Views: 1382
Reputation: 21
by allowing navLinks
you can do this. so if the user clicks on a date
they will see a single day view.
<FullCalendar
plugins={[dayGridPlugin]}
initialView="dayGridMonth"
events={events}
//allowing user to click on date.
navLinks={true}
/>
Upvotes: 2