Skip to main content
All docs
V23.2

ASPxClientGantt.UnassignAllResourcesFromTask(taskKey) Method

Unassigns resources from a task.

Declaration

UnassignAllResourcesFromTask(
    taskKey: any
): void

Parameters

Name Type Description
taskKey any

A task key.

Remarks

Call the UnassignAllResourcesFromTask method to remove all resources from the task specified as the method’s argument.

function onTaskClick(s, e) {
    clientGantt.UnassignAllResourcesFromTask(e.key);
}
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" ...>
    <ClientSideEvents TaskClick="onTaskClick" />
    <!--...-->
</dx:ASPxGantt>
See Also