Wijmo UI for the Web
titleFormat Field

The title text format that will be shown under the header bar. undefined = start date. undefined = end date.

Syntax
Javascript (Usage) 
var value; // Type: object
value = jQuery.wijmo.wijevcal.options.titleFormat;
Javascript (Specification) 
var titleFormat : object;
Example
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}"
        }
    }
);
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.