orderId String|Number|Object

The position of the task relative to its sibling tasks.

Example - get the orderId field of a task

var task = new kendo.data.GanttTask({
    id: 1,
    title: "Task1",
    orderId: 0,
    start: new Date("2014/6/17 9:00"),
    end: new Date("2014/6/17 11:00")
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(task.orderId); // outputs "0"
In this article