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
<style>
.italic{
font-style: italic;
}
</style>
<body>
<div id="multiViewCalendar"></div>
<script id="week-template" type="text/x-kendo-template">
<a class="italic">#= data.weekNumber #</a>
</script>
<script>
$("#multiViewCalendar").kendoMultiViewCalendar({
weekNumber: true,
month: {
weekNumber: $("#week-template").html()
}
});
</script>