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

ASPxClientGantt.AssignResourceToTask(resourceKey, taskKey) Method

Assigns a resource to a task.

Declaration

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

Parameters

Name Type Description
resourceKey any

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.

clientGantt.AssignResourceToTask("resource_key", "task_key");

Related APIs:

Concepts

See Also