Search
WeekRangeSettings Class
Remarks See Also
 






Defines properties that allow customization of the appearance of a WeekRange view.

Namespace: MindFusion.Scheduling
File: WeekRangeSettings.js

 Syntax

JavaScript  Copy Code

// class
WeekRangeSettings.prototype = {}

 Remarks

The weekRangeSettings property should be used only when currentView is set to CalendarView.WeekRange.

 Example

The following code assigns 5 to the visibleRows property of a WeekRangeSettings instance. 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
calendar = new p.Calendar(document.getElementById("calendar"));
// set the view to WeekRange
calendar.currentView = p.CalendarView.WeekRange;

// hide the week numbers header
calendar.weekRangeSettings.visibleRows = 5;

 Inheritance Hierarchy

MindFusion.Scheduling.WeekRangeSettings

 See Also