MVC4 Classic
Select Week Numbers

When the ShowWeekNumbers option is enabled for the calendar, the weeknumbers appear vertically on the left side of the calendar. The weeknumbers represent a week number for each week in the calendar month. In the calendar year there are a total of 52 weeks so the weeknumbers will range from 1 to 52.

You can use the weeknumber selector to select the weeknumbers in the calendar at run time if you enable the day and weeknumber values for the selectionMode option. By default, only the day is enabled for the selectionMode option.

To enable week number selection use the following code:

$("#calendar1").wijcalendar({
             showWeekDays: true,
             showWeekNumbers: true,
             selectionMode:{weekNumber: true}
         });

This topic illustrates the following:

To select a specific week on the calendar month, move your cursor over a week number.

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback