Edit this page

views.minorTimeHeaderTemplate String |Function

The template used to render the minor ticks.

By default the scheduler renders a " ".

The fields which can be used in the template are:

  • date - represents the major tick date.

The minorTimeHeaderTemplate option is supported when views.type is set to "day" or "week".

Example - set the minor time header template

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [
    {
      type: "day",
      minorTimeHeaderTemplate: kendo.template("<strong>#=kendo.toString(date, 't')#</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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy