Jquery fullcalendar plugin view more than 1 month at a time

I use the fullcalendar plugin and I want to change it a bit - I want the default to be a month, but you can scroll down and continue next month, does anyone know if there is an addition, or in any case start editing the full calendar?

+7
source share
2 answers

There is no direct way to fullcalendar to show two months. for your requirement you need to combine fullcalnder with darepicker, since one small datepicker is above the fullcaleder and one click of the datepicker call goto methode fullcalendar button to go to the given date.

$(document).ready(function() { $("#datepicker" ).datepicker({ numberOfMonths: 2, showButtonPanel: false, minDate:0, onSelect: function(dateText, inst) { selected_date = dateText; $('#calendar').fullCalendar('gotoDate',new Date(Date.parse(selected_date))); } }); }); 
+1
source

You can do the following:

  • Load data and save JSON in local storage or array
  • Create 2-3 divs for 2-3 calendars
  • Loading the full calendar in divs - setting a start date for each
  • Keep the same data source for everyone

Like this:

Multiple FullCalendars on One Page

with parameters

+1
source

All Articles