Gets or sets the style of the view.
Namespace: MindFusion.Scheduling
File: WeekRangeSettings.js
SyntaxJavaScript
Copy Code
|
|---|
get viewStyle() {} |
One of the WeekRangeViewStyle enumeration values.
ExampleThe following code renders a single week at a time in the calendar with a WeekRange view using 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 // renders a single week |
See Also