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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.GanttAssignmentCollection

Methods

Adds an resource assignment to the collection.

JS
add(Telerik.Web.UI.GanttAssignment assignment): void
Parameters:assignmentTelerik.Web.UI.GanttAssignment

The resource assignment to add.

Returns the number of resource assignments in the collection.

JS
get_count(): Number
Returns:

Number

The number of the resource assignments.

Gets the resource assignment from the collection residing at the index specified by the parameter.

JS
getAssignment(Number index): Telerik.Web.UI.GanttAssignment
Parameters:indexNumber

The index of the resource assignment that should be returned.

Returns:

Telerik.Web.UI.GanttAssignment

The resource assignment at the specified index.

Gets the index of a resource assignment.

JS
indexOf(Telerik.Web.UI.GanttAssignment assignment): Number
Parameters:assignmentTelerik.Web.UI.GanttAssignment

The resource assignment to get the index of.

Returns:

Number

The index of the resource assignment.

Removes a resource assignment from the collection.

JS
remove(Telerik.Web.UI.GanttAssignment assignment): void
Parameters:assignmentTelerik.Web.UI.GanttAssignment

The resource assignment 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