ASPxClientGantt.GetResourceAssignmentData(key) Method
Gets the resource assignment data.
Declaration
GetResourceAssignmentData(
key: any
): any
Parameters
Name | Type | Description |
---|---|---|
key | any | The resource assignment’s key. |
Returns
Type | Description |
---|---|
any | The resource assignment data. |
Remarks
The GetResourceAssignmentData method returns data in the following format:
{ ID: “ResourceAssignment_id” ResourceID: “Resource_id” TaskID: “Task_id” }
The key should have the same format as used in the data source field.
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
//...
</dx:ASPxGantt>
console.log(clientGantt.GetResourceAssignmentData("assignment_key"));
Concepts
See Also