Gets or sets a value indicating how to format and display item titles.
Namespace: MindFusion.Scheduling
File: ItemSettings.js
JavaScript Copy Code |
---|
get titleFormat() {} |
String. The format string.
The following reserved strings can be used to construct the desired title format:
A valid format string will be: "%e[hh:mm tt] %d" where the description of the item is formatted to render first the start time in format HH:MM AM/PM before the description text.
The following code renders the start time of the event in format "10:30 AM" before the title of an event:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // create a new instance of the calendar //add the start time prefix before each subject |