Search
WeekRangeSettings.expandDayHeaders Property
See Also
 






Gets or sets a value indicating whether day headers should fill the whole day cell.

Namespace: MindFusion.Scheduling
File: WeekRangeSettings.js

 Syntax

JavaScript  Copy Code

get expandDayHeaders() {}

 Property Value

Boolean. True to expand the headers, otherwise false.

 Example

The following code sets the expandDayHeaders property of a calendar that shows week range to true. 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

// create a new instance of the calendar
var calendar = new p.Calendar(document.getElementById("calendar"));

// set the calendar view to WeekRange, which displays one week per row
calendar.currentView = p.CalendarView.WeekRange;

// expand the day headers
calendar.weekRangeSettings.expandDayHeaders = true;

 See Also