Gets or sets a value indicating whether view cells are displayed horizontally or vertically.
Namespace: MindFusion.Scheduling
Assembly: ListSettings.js
SyntaxJavaScript
Copy Code
|
|---|
get orientation() {} |
One of the Orientation enumeration values.
ExampleThe following code uses the listSettings property to specify that the orientation of calendar items should be vertical. Note: the code assumes you have initialized a <div> element with id “datePicker” in a web page that references the JavaScript file which contains this code.
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; var datePicker = new p.Calendar(document.getElementById("datePicker")); this.calendar.listSettings.orientation = p.Orientation.Vertical; |
See Also