resource_attribute

changes the name of the attribute that Gantt uses to find which resource the task row in the resource grid/timeline is referring to

string resource_attribute;

Available only in PRO Edition

Example

gantt.config.resource_attribute = "data-resource-id";


Default value:

data-resource-id
Details

This functionality is available in the PRO edition only.

Each resource element has the data-resource-id attribute that is used to find which a resource the DOM element is attached to.


Related sample:  Resourse_attribute

Back to top