Skip to main content

updateCalendar

Description

Displays the specified date in the mini calendar

updateCalendar: (calendar: any, new_date: Date) => void

Parameters

  • calendar - (required) object - the mini calendar object
  • new_date - (required) Date - a new date to display in the mini calendar

Example

var calendar = scheduler.renderCalendar({
container:"cal_here",
navigation:true,
handler:function(date){
scheduler.setCurrentView(date, scheduler._mode);
}
});
...
scheduler.updateCalendar(calendar, new Date(2013,01,01));

Details

note

The method requires the minical plugin to be activated.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.