How can I help you?
Update task id value
Id value of Gantt tasks can be changed dynamically by using updateTaskId method. The below code example shows how to invoke this method on button click action.
$("#Gantt").ejGantt({
//...
});
$("#update_task_id").click(function () {
var ganttObj = $("#Gantt").ejGantt("instance");
ganttObj.updateTaskId(5, 7);
});The below screen shows the output of above code example.

Before id update

After id update