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;

Example

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


Default value:

data-resource-id
Details

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