Specifies the appearance of the calendar's main header.
Namespace: MindFusion.Scheduling
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
Buttons |
The header displays navigation buttons. |
|
None |
The header is not displayed. |
|
Title |
The header displays a title. |
Used by the headerStyle property of the settings for different calendar views: monthSettings, listSettings etc.
The following code uses the MainHeaderStyle.Title value to hide navigation buttons in the header:
JavaScript Copy Code |
---|
// stop navigation buttons from rendering in Month and Timetable views calendar.monthSettings.headerStyle = p.MainHeaderStyle.Title; calendar.timetableSettings.headerStyle = p.MainHeaderStyle.Title; |