wijmo.evcal.wijevcal Namespace > options type : titleFormat Option |
The title text format that will be shown under the header bar. undefined = start date. undefined = end date.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: object returnsValue = $(".selector").wijevcal("option", "titleFormat"); // Set value var newValue; // Type: object $(".selector").wijevcal("option", "titleFormat", newValue); }); |
Javascript (Specification) | |
---|---|
|
Specify common title format: $("#eventscalendar").wijevcal( { titleFormat: "First date: {0:d} Last date: {1:d}" } ); Specify separate format for the each view: $("#eventscalendar").wijevcal( { titleFormat: { function customFormatFunc will be called //in order to format string: day: customFormatFunc, week: "Week {0:d} : {1:d}", month: "{0:yyyy, MMMM}", list: "Events until {1:d}" } } );