Search
MainHeaderStyle Enumeration
See Also
 






Specifies the appearance of the calendar's main header.

Namespace: MindFusion.Scheduling
File: Enum.js

 Syntax

JavaScript  Copy Code

// enum
MainHeaderStyle = {}

 Members

  Member name Description

Buttons

The header displays navigation buttons.

None

The header is not displayed.

Title

The header displays a title.

 Remarks

Used by the headerStyle property of the settings for different calendar views: monthSettings, listSettings etc.

 Example

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;

 See Also