messages.views Object

The configuration of the Gantt view messages. Use this option to customize or localize the Gantt view messages.

messages.views.day String (default: "Day")

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

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      day: "Day view"
    }
  }
});
</script>

messages.views.end String (default: "End")

The text similar to "End" displayed in Gantt resize hint.

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      end: "Task End"
    }
  }
});
</script>

messages.views.month String (default: "Month")

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

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      month: "Month view"
    }
  }
});
</script>

messages.views.start String (default: "Start")

The text similar to "Start" displayed in Gantt resize hint.

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      start: "Task Start"
    }
  }
});
</script>

messages.views.week String (default: "Week")

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

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      week: "Week view"
    }
  }
});
</script>

messages.views.year String (default: "Year")

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

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
     id: 1,
     orderId: 0,
     parentId: null,
     title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  messages: {
    views: {
      Year: "Year view"
    }
  }
});
</script>
In this article