renderCalendar

creates a mini calendar

void renderCalendar(object config);

Parameters

configobjectthe calendar configuration object

Example

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

Required extension: ext/dhtmlxscheduler_minical.js

Related samples

Details

The configuration object can have the following properties:

var calendar = scheduler.renderCalendar({
    container:"for_calendar",
    date:new Date()
});
//
var calendar = scheduler.renderCalendar({
    position:"some_id",
    date:new Date()
});
//
var calendar = scheduler.renderCalendar({
    position: { left: 100, top: 50 },
    date:new Date()
});
See also
Back to top