Search
Calendar.listSettings Property
See Also
 






Gets the ListSettings object used to customize the appearance of the List view.

Namespace: MindFusion.Scheduling
File: Calendar.js

 Syntax

JavaScript  Copy Code

get listSettings() {}
set listSettings(value) {}

 Property Value

An instance of the ListSettings class.

 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