Skip to main content
A newer version of this page is available. .
All docs
V21.2

ASPxClientGantt.UnassignResourceFromTask(resourceKey, taskKey) Method

Removes a resource from the task.

Declaration

UnassignResourceFromTask(
    resourceKey: any,
    taskKey: any
): void

Parameters

Name Type Description
resourceKey any

The resource’s key.

taskKey any

The task’s key.

Remarks

Gantt - Resources

The keys should have the same format as used in the data source fields.

<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>
clientGantt.UnassignResourceFromTask("resource_key", "task_key");

Concepts

See Also