ASPxClientGantt.GetResourceAssignmentData(key) Method
In This Article
Gets the resource assignment data.
#Declaration
TypeScript
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