month.content String

The template to be used for rendering the cells in "month" view, which are between the min/max range. By default, the widget renders the value of the corresponding day.

Example - specify cell template as a string

<style>
  .exhibition{
    background-color: #9DD0E0;
    color:black;
  }
  .party{
    color: red;
    background-color: #ccc;
  }
</style>
<body>

<div id="multiViewCalendar"></div>
<script id="cell-template" type="text/x-kendo-template">
    <div class="#= data.value < 10 ? 'exhibition' : 'party' #">
    #= data.value #
  </div>
</script>
<script>
  $("#multiViewCalendar").kendoMultiViewCalendar({
    month: {
      content: $("#cell-template").html()
    }
  });
</script>
In this article
Not finding the help you need? Improve this article