DHTMLX Docs & Samples Explorer

List of initialization properties

Common initialization options

  • parent - string or object, id of container, where tree will be initialized, mandatory
  • draw - {boolean} if set as true - calendar will be drawn after initialization ( in other case cal.draw() command will be necessary )

Events

any event can be assigned by using property equal to event name

	calendar = new dhtmlxCalendarObject({
		parent:"my_calendar_here",
                draw:true,
		onClick:function(){
			alert("I'm clicked");	
		}
	});