Specifies the appearance of the calendar's main header.
Namespace: MindFusion.Scheduling
Assembly: Enum.js
SyntaxJavaScript
Copy Code
|
|---|
// enum |
Members| Member name | Description | |
|---|---|---|
![]() |
Buttons |
The header displays navigation buttons. |
![]() |
None |
The header is not displayed. |
![]() |
Title |
The header displays a title. |
RemarksUsed by the headerStyle property of the settings for different calendar views: monthSettings, listSettings etc.
ExampleThe 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; |
See Also