wijmo.calendar.wijcalendar Namespace > options type : 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.
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) | |
---|---|
|
$("#calendar1").wijcalendar( { selectionMode: {day:true, weekDay:true}} );