Skip to main content
All docs
V24.1

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