views.selected Boolean (default: false)

If set to true the view will be initially selected by the Gantt widget. The default selected view is "day".

If more than one view is selected then last of them will prevail.

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/20 11:00")
  }],
  views: [
    { type: "day" },
    { type: "week", selected: true },
    { type: "month" }
  ]
});
</script>
In this article