[FullCalendar 2] how can i change the defaultView on fullcalendar2

Forge Component
(31)
Published on 2019-03-29 by Daniel Filipe
31 votes
Published on 2019-03-29 by Daniel Filipe

Hi

how can I change the defaultView in fullcalendar once the execution starts.


Thanks

Srinivas Nalamati

Hello Srinivas,

Looking at the header you'll have the "available views" the User is allowed to choose. On the defaultView below you can define the view when the fullcalendar starts. You can use, for example, a variable to control that.

Hope it helps,

Regards!