returns the array of unique resources assigned to a specific task from the datastore
taskId | string | number | the task id |
ResourceItem[] | an array of resource objects |
Available only in PRO Edition
gantt.getTaskResources(5); // -> see details
This functionality is available in the PRO edition only.
The getTaskResources method is not available if process_resource_assignments is disabled.
The method returns an array with resourceItem objects that have the following properties:
[
{id: 6, text: "John", parent:1, unit: "hours/day" },
{id: 7, text: "Mike", parent:2, unit: "hours/day" }
]
added in v8.0
Back to top