Search
ItemSettings.showItems Property
See Also
 






Gets or sets a value indicating whether to display schedule Item-s.

Namespace: MindFusion.Scheduling
File: ItemSettings.js

 Syntax

JavaScript  Copy Code

get showItems() {}

 Property Value

Boolean. True if items should be displayed, otherwise false.

 Example

The following method checks if the calendar renders a timetable and if true, shows all items:

JavaScript  Copy Code
 function handleSelectionEnd(sender, args)
 {
 // show all items if the current view is Timetable.
 if (sender.currentView === p.CalendarView.Timetable;)
 {  
  sender.itemSettings.showItems = true;
 }
}

 See Also