Gets or sets the orientation of the view.
Namespace: MindFusion.Scheduling
File: ListSettings.js
The 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; |