Search
ListSettings.orientation Property
See Also
 






Gets or sets the orientation of the view.

Namespace: MindFusion.Scheduling
File: ListSettings.js

 Syntax

JavaScript  Copy Code

get orientation() {}

 Property Value

One of the Orientation enumeration values.

 Example

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"));
datePicker.currentView = p.CalendarView.List;

this.calendar.listSettings.orientation = p.Orientation.Vertical;

 See Also