Specifies the appearance of a vertical header in the calendar.
Namespace: MindFusion.Scheduling
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
Left |
The header is displayed to the left side of the calendar. |
|
None |
The header is not displayed. |
|
Right |
The header is displayed to the right side of the calendar. |
The following code assings VerticalHeaderStyle.None value to the weekHeaderStyle property of a MonthSettings instance to hide the weeks header in a calendar. Note: the code assumes you have initialized a <div> element with id “calendar” in a web page that references the JavaScript file, which contains this code:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // create a new instance of the calendar // hide the week numbers header |