New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.GanttDependencyCollection

Methods

Adds a dependency to the collection.

JS
add(Telerik.Web.UI.GanttDependency dependency): void
Parameters:dependencyTelerik.Web.UI.GanttDependency

The dependency to add.

Returns the number of dependencies in the collection.

JS
get_count(): Number
Returns:

Number

The number of the dependencies.

Gets the dependency from the collection residing at the index specified by the parameter.

JS
getDependency(Number index): Telerik.Web.UI.GanttDependency
Parameters:indexNumber

The index of the dependency that should be returned.

Returns:

Telerik.Web.UI.GanttDependency

The dependency at the specified index.

Gets the index of a dependency.

JS
indexOf(Telerik.Web.UI.GanttDependency dependency): Number
Parameters:dependencyTelerik.Web.UI.GanttDependency

The dependency to get the index of.

Returns:

Number

The index of the dependency.

Removes a dependency from the collection.

JS
remove(Telerik.Web.UI.GanttDependency dependency): void
Parameters:dependencyTelerik.Web.UI.GanttDependency

The dependency to remove.

Returns the collection represented as an array.

JS
toArray(): Array
Returns:

Array

The collection represented as an array.

Not finding the help you need?
Contact Support