Gantt APIPropertiestask_attributeOn this pagetask_attribute Description Sets the name of the attribute that will specify the id of the task's HTML element task_attribute: stringExamplegantt.config.task_attribute = "data-task-id"Default value: "data-task-id"DetailsHTML elements of tasks with the default task_attribute (data-task-id ) look like this:The task_id attribute is included to remain backward compatibility with previous versions.Related API locate