renderCalendar(configuration)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxscheduler_minical.js

The only parameter - configuration object

	scheduler.renderCalendar({
	    container:"for_calendar"
		date:some_date,
		navigation:true,
		handler:function(date,calendar){
		}
	});
  • container - optional, html container, inside each calendar will be rendered; can be ID of html element or HTML object
  • position - optional, defines position of calendar; can be a set of coordinates or ID of html object
  • date - date, which will be shown in calendar
  • nativation - boolean, enables or disables month navigation buttons
  • handler - onclick handler, receives clicked data and calendar object

method returns calendar object, which can be used as parameter for destroyCalendar, markCalendar, unmarkCalendar

scheduler.renderCalendar({
    container:"for_calendar",
	date:new Date()
});
scheduler.renderCalendar({
    position:"some_id",
	date:new Date()
});
scheduler.renderCalendar({
    position: { left: 100, top: 50 },
	date:new Date()
});