Gets or sets the string used to format the header title.
Namespace: MindFusion.Scheduling
File: TimetableSettings.js
JavaScript Copy Code |
---|
get titleFormat() {} |
A string that specifies the format e.g. "'MM/DD/YYYY h:mm a".
The 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 |