Search
TimetableSettings.headerStyle Property
See Also
 






Gets or sets the style of the view header.

Namespace: MindFusion.Scheduling
File: TimetableSettings.js

 Syntax

JavaScript  Copy Code

get headerStyle() {}

 Property Value

One of the MainHeaderStyle enumeration values.

 Example

The following code hides the navigation buttons in Timetable view. 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
this.calendar = new p.Calendar(document.getElementById("calendar"));

// set the view to MonthRange, which displays several months in a grid
calendar.currentView = p.CalendarView.Timetable;
calendar.timetableSettings.headerStyle = p.MainHeaderStyle.Title;

 See Also