Wijmo UI for the Web
calendarWeekRule Option

Default value: 'firstDay'

Defines different rules for determining the first week of the year.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  string
    value = $(".selector").wijcalendar("option", "calendarWeekRule");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijcalendar("option", "calendarWeekRule", newValue);
        
});
Javascript (Specification) 
var calendarWeekRule : string;
Example
$("#calendar1").wijcalendar(
           { calendarWeekRule: 'firstFourDayWeek'}
  );
Remarks
Possible values are: "firstDay", "firstFullWeek" or "firstFourDayWeek"
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcalendar jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.