Search
TimetableSettings.cellSize Property
See Also
 






Gets or sets the size of time cells.

Namespace: MindFusion.Scheduling
File: TimetableSettings.js

 Syntax

JavaScript  Copy Code

get cellSize() {}

 Property Value

A Number that specifies the size.

 Remarks

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:

 Example

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;

 See Also