month.weekNumber String

The template to be used for rendering the cells in "week" column. By default, the widget renders the calculated week of the year. The properties available in the data object are:

  • currentDate - returns the first date of the current week.
  • weekNumber - calculated week number.

These properties can be used in the template to make additional calculations.

Example - specify week number template as a string

    font-style: italic;

<div id="daterangepicker1"></div>

<script id="week-template" type="text/x-kendo-template">
   <a class="italic">#= data.weekNumber #</a>
    weekNumber: true,
    month: {
      weekNumber: $("#week-template").html()
In this article