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