DHTMLX Docs & Samples Explorer

Index
dhtmlxcalendar
API Methods

### setHeader(isVisible, isDrag, btnsOpt)

Required library edition:
Required library file: dhtmlxcalendar.js

set header in calendar

- isVisible - is header visible
- isDrag - can calendar be dragged
- btnsOpt - the header buttons string

    var calendar = new dhtmlxCalendarObject('dhtmlxCalendar',false);
    calendar.setHeader(true,true,"TX");
    calendar.draw();