Wijmo UI for the Web
localization Option

Default value: null

Use the localization option in order to provide custom localization.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijdatepager("option", "localization");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijdatepager("option", "localization", newValue);
        
});
Javascript (Specification) 
var localization : object;
Example
$("#datepager").wijdatepager(
                { 
                    localization: {
                        weekViewTooltip2MonthesFormat: "{0:MMMM d} - {1:MMMM d}",
                        dayViewTooltipFormat: "{0:dddd, MMMM d}"
                    }
                });
Remarks
Default: { dayViewTooltipFormat: "{0:dddd, MMMM d, yyyy}", weekViewTooltipFormat: "{0:MMMM d} - {1:d, yyyy}", weekViewTooltip2MonthesFormat: "{0:MMMM d} - {1:MMMM d, yyyy}", monthViewTooltipFormat: "{0:MMMM yyyy}", dayViewLabelFormat": "{0:d }", weekViewLabelFormat: "{0:MMM dd}-{1:dd}", monthViewLabelFormat: "{0:MMM}" }
Browser Compatibility
7
5
5

See Also

Reference

options type
wijdatepager jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.