Gets or sets a value indicating how to format and display item titles.
Namespace: MindFusion.Scheduling
Assembly: ItemSettings.js
SyntaxJavaScript
Copy Code
|
|---|
get titleFormat() {} |
String
The format string.
RemarksThe 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.
ExampleThe 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 |
See Also