Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.GanttTaskCollection
Methods
Adds a task to the collection.
JS
add(Telerik.Web.UI.GanttTask task): void
The task to add.
Gets the number of tasks in the collection.
JS
get_count(): Number
Number
The number of tasks
Gets the task from the collection residing at the index specified by the parameter.
JS
getTask(Number index): Telerik.Web.UI.GanttTask
The index of the task that should be returned
Returns:Telerik.Web.UI.GanttTask
The task at the specified index.
Gets the index of a task.
JS
indexOf(Telerik.Web.UI.GanttTask task): Number
The task to get the index of
Returns:Number
The index of the specified task in the collection
Inserts a task into the collection at the position specified by the first (index) parameter.
JS
insert(Number index, Telerik.Web.UI.GanttTask task): void
The index to insert at.
taskTelerik.Web.UI.GanttTaskThe task to insert.
Removes a task from the collection.
JS
remove(Telerik.Web.UI.GanttTask task): void
The task to remove.
Returns the collection of tasks represented as array.
JS
toArray(): Array
Array
array