dhtmlxCalendar header text

Is there a way to change the default calendar header text “Calendar Header” that appears when enabling the header buttons and draggable property when using setHeader()?

The buttons appear as well as the header text “Calendat Header”.

Yes, there is such a way. You can set the following property before draw() method call:

calendar.winTitle = ‘new header’;


Yes, that worked perfectly… Thanks.

I’have tried the indicated solution, but it has no effect.
Do you have a better documentation about SetHeader()?

docs.dhtmlx.com/doku.php?id=dhtm … _setheader

In order to set header title you may use setHeaderText method
docs.dhtmlx.com/doku.php?id=dhtm … headertext

I’ve just found it in the code :slight_smile: