changes the task's id
id | string | number | the current task's id |
new_id | string | number | the new task's id |
gantt.addTask({
id:10,
text:"Task #5",
start_date:"02-09-2013",
duration:28
}, "project_2");
gantt.changeTaskId(10, 15); //changes the task's id '10 -> 15'
The method invokes the onTaskIdChange event.