Wijmo UI for the Web
selectionMode Option

Gets or sets the date selection mode on the calendar control that specifies whether the user can select a single day, a week, or an entire month.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  any
    value = $(".selector").wijcalendar("option", "selectionMode");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijcalendar("option", "selectionMode", newValue);
        
});
Javascript (Specification) 
var selectionMode : any;
Example
$("#calendar1").wijcalendar(
            { selectionMode: {day:true, weekDay:true}}
  );
Remarks
Possible fields in hash are: day, days, weekDay, weekNumber, month.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcalendar jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.