Back to Devexpress

ASPxClientGantt.UnassignResourceFromTask(resourceKey, taskKey) Method

aspnet-js-aspxclientgantt-dot-unassignresourcefromtask-x28-resourcekey-taskkey-x29.md

latest1.7 KB
Original Source

ASPxClientGantt.UnassignResourceFromTask(resourceKey, taskKey) Method

Removes a resource from the task.

Declaration

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

Parameters

NameTypeDescription
resourceKeyany

The resource’s key.

| | taskKey | any |

The task’s key.

|

Remarks

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

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

Concepts

See Also

AssignResourceToTask(resourceKey, taskKey)

ResourceAssigning

ResourceUnassigning

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members