Search
TimetableSettings Class
Remarks See Also
 






Defines properties that allow customization of the appearance of a Timetable view.

Namespace: MindFusion.Scheduling
File: TimetableSettings.js

 Syntax

JavaScript  Copy Code

// class
TimetableSettings.prototype = {}

 Remarks

The timetableSettings property should be used only when the currentView is set to CalendarView.Timetable.

 Example

The following code assigns 20 to the cellSize property of a TimetableSettings instance. Note: the code assumes you have initialized a <div> element with id “calendar” in a web page that references the JavaScript file, which contains this code:

JavaScript  Copy Code

var p = MindFusion.Scheduling;

// create a new instance of the calendar
calendar = new p.Calendar(document.getElementById("calendar"));
// set the view to Timetable, which displays the allotment of resources to distinct hours of a day
calendar.currentView = p.CalendarView.Timetable;

// hide the week numbers header
calendar.timetableSettings.cellSize = 20;

 Inheritance Hierarchy

MindFusion.Scheduling.TimetableSettings

 See Also