甘特图 API属性task_attribute页面内容task_attribute Description 设置将用于指定任务的 HTML 元素 ID 的属性名 task_attribute: stringExamplegantt.config.task_attribute = "data-task-id"默认值: "data-task-id"Details使用默认的 task_attribute (data-task-id) 的任务 HTML 元素看起来像这样:为了与早期版本向后兼容,包含了 task_id 属性。Related API locate 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.