isMilestone

Checks whether the event has zero duration.

Returns

Boolean return true if the task start is equal to the task end.

Example - check whether the task is a milestone

<script>
var task = new kendo.data.GanttTask({
    id: 1,
    title: "Task1",
    start: new Date("2014/6/17 9:00"),
    end: new Date("2014/6/17 9:00")
});

console.log(task.isMilestone()); //logs 'true'
</script>
In this article
Not finding the help you need?