majorTimeHeaderTemplate String|Function

The template used to render the major ticks.

By default the scheduler renders the time using the current culture time format.

The fields which can be used in the template are:

  • date - represents the major tick date.

Example - set the major time header template

<div id="scheduler"></div>
  date: new Date("2013/6/6"),
  majorTimeHeaderTemplate: kendo.template("<strong>#=kendo.toString(date, 'h')#</strong><sup>00</sup>"),
  dataSource: [
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
In this article