updateCalendar

displays the specified date in the mini calendar

void updateCalendar(object calendar,Date new_date);

Parameters

calendarobjectthe mini calendar object
new_dateDatea 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));

Required extension: ext/dhtmlxscheduler_minical.js
See also
Back to top