Search
ListSettings.visibleCells Property
See Also
 






Gets or sets the number of cells visible at the same time.

Namespace: MindFusion.Scheduling
File: ListSettings.js

 Syntax

JavaScript  Copy Code

get visibleCells() {}

 Property Value

Number. The number of cells visible at the same time.

 Example

The following code uses the listSettings property to specify that the number of visible cells shall be 30. 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;
datePicker.theme = "light";
datePicker.listSettings.visibleCells = datePicker.listSettings.numberOfCells = 30;
datePicker.listSettings.headerStyle = p.MainHeaderStyle.None;

 See Also