[FullCalendar 2] javascript code in advancedconfig for defaultview for fullcalendar2

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

Hi ,

what is the javascript code to change the defaultview dynamically or based on some conditions.


Srinivas Nalamati

Hi Srinivas,

You can achive this by adding to the AdvancedConfig the defaultView required. Just control it with a variable, this variable need to have the view you want and just refresh the calendar.


Hope it helps,