Search
WeekRangeSettings.visibleRows Property
See Also
 






Gets or sets the number of rows visible at the same time.

Namespace: MindFusion.Scheduling
File: WeekRangeSettings.js

 Syntax

JavaScript  Copy Code

get visibleRows() {}

 Property Value

Number. The number of rows visible at the same time.

 Example

The following code assigns 5 to the visibleRows property of a WeekRangeSettings instance. 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
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;

 See Also