messages.views Object

The configuration of the scheduler views messages. Use this option to customize or localize the scheduler views messages.

messages.views.day String

The text similar to "Day" displayed as scheduler "day" view title.

Example - set the "day" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  messages: {
    views: {
        day: "Today"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.week String

The text similar to "Week" displayed as scheduler "week" view title.

Example - set the "week" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  messages: {
    views: {
        week: "Weekly"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.month String

The text similar to "Month" displayed as scheduler "month" view title.

Example - set the "month" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  messages: {
    views: {
        month: "Monthly"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.agenda String

The text similar to "Agenda" displayed as scheduler "agenda" view title.

Example - set the "agenda" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  messages: {
    views: {
        agenda: "Events list"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.timelineMonth String

The text similar to "Timelnie Month" displayed as scheduler "timelineMonth" view title.

Example - set the "timelineMonth" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [ "day", "month", "timelineMonth", "timelineWeek" ],
  messages: {
    views: {
        timelineMonth: "Month, but sideways"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.timelineWeek String

The text similar to "Timelnie Week" displayed as scheduler "timelineWeek" view title.

Example - set the "timelineWeek" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [ "day", "month", "timelineMonth", "timelineWeek" ],
  messages: {
    views: {
        timelineWeek: "Week, but sideways"
    }
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>

messages.views.year String

The text similar to "Year" displayed as scheduler "year" view title.

Example - set the "year" view title

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [ "day", "month", "year" ],
  messages: {
    views: {
        year: "Year, but sideways"
    }
  },
  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
Not finding the help you need? Improve this article