resource_attribute

定义 Gantt 用于识别资源网格或时间轴中任务行对应的资源的属性名称。

string resource_attribute;

Available only in PRO Edition

Example

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


Default value:

data-resource-id
Details

此功能仅在 PRO 版本中可用。

每个资源元素都包含 data-resource-id 属性,该属性将 DOM 元素与其对应的资源关联起来。


Related sample:  Resourse_attribute

Back to top