views.eventDateTemplate

The template used by the agenda view to render the date of the scheduler events.

The fields which can be used in the template are:

  • date Date - represents the event date.

The eventDateTemplate option is supported when views.type is set to "agenda".

Example - set the event date template

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [
    {
      type: "agenda",
      eventDateTemplate: kendo.template("<strong>#= kendo.toString(date, 'dd-MM-yyyy')#</strong>")
    }
  ],
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>
In this article