Defines properties that allow customization of the appearance of a MonthRange view.
Namespace: MindFusion.Scheduling
File: MonthRangeSettings.js
JavaScript Copy Code |
---|
// class |
The following code uses the monthRangeSettings property of a calendar to assign its value to an html <select> element with an id “numberOfMonths”. 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 document.getElementById("numberOfMonths").value = calendar.monthRangeSettings.numberOfMonths; |
MindFusion.Scheduling.MonthRangeSettings