Gets or sets the options used to format header titles.
Namespace: MindFusion.Scheduling
File: TimetableSettings.js
SyntaxJavaScript
Copy Code
|
|---|
get titleFormat() {} |
A string that specifies the format e.g. "'MM/DD/YYYY h:mm a".
ExampleThe following code sets the title format to short date. 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 // set the view to MonthRange, which displays several months in a grid |
See Also