Override _drawDaysOfWeek of dhtmlXCalendarObject

Can I Override _drawDaysOfWeek of dhtmlXCalendarObject form my code?
I need it to extend functionality of dhtmlXCalendarObject?

all is possible, depending on what you’d like to achieve

Just to add additional classes, attributes and events to days divs


then you can use the following struct:

var myCalendar = new dhtmlXCalendarObject(..); myCalendar._drawDaysOfWeek = function(){ // your new code here // or existing code (you can take it from source) with your changes }