Gets or sets a value indicating whether to display schedule Item-s.
Namespace: MindFusion.Scheduling
File: ItemSettings.js
JavaScript Copy Code |
---|
get showItems() {} |
Boolean. True if items should be displayed, otherwise false.
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; } } |