expanded Boolean (default: true)

If set to true, the task is expanded and the tasks of its child are visible.

Example - create collapsed task

var task = new kendo.data.GanttTask({
    id: 1,
    title: "Task1",
    expanded: false,
    start: new Date("2014/6/17 9:00"),
    end: new Date("2014/6/17 11:00")
In this article
Not finding the help you need? Improve this article