New to Kendo UI for jQuery? Start a free 30-day trial

Checks whether the event has zero duration.

Returns:Boolean

—Returns true if the task start is equal to the task end.

<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")
});

/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(task.isMilestone()); //logs 'true'
</script>
Not finding the help you need?
Contact Support