Hi Christian,
Thank you for contacting Syncfusion support.
We have analyzed your query and would like to inform you that we have support to update the TaskId in Syncfusion Gantt Chart. By making use of the updateTaskId() method, you can change the TaskId of a record to any other value. The below code snippets demonstrate the solution.
App.vue
|
methods: {
changeTaskid: function (e) {
var ganttObj = document.getElementById("GanttContainer").ej2_instances[0];
ganttObj.updateTaskId(2, 20);
},
}, |
Note: You cannot change the TaskId of a record to an already existing value. The modified TaskId should be a new Id, (i.e)., one that is not already assigned to another task.
We have also prepared a sample for your reference.
Regards,
Monisha.