views.typeString

The type of the view. The built-in views are: "day", "week", "month" and "year".

Example

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
    dataSource: [
        { id: 1, title: "Task 1", start: new Date("2023/1/1"), end: new Date("2023/1/5") }
    ],
    views: [
        { type: "day" },
        { type: "week" },
        { type: "month" },
        { type: "year" }
    ]
});
</script>
In this article
views.type
Not finding the help you need?
Contact Support