Skip to main content

resource_attribute

info

This functionality is available in the PRO edition only.

Description​

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

resource_attribute: string

Example​

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

Default value: data-resource-id

Details​

resource_attribute

note

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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.