Edit this page

id String |Number |Object

The unique identifier of the task.

Example - get the task id

var task = new kendo.data.GanttTask({
    id: 1,
    title: "Task1",
    start: new Date("2014/6/17 9:00"),
    end: new Date("2014/6/17 11:00")
console.log(task.id); // outputs "1"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article