refreshes the task and its related links
id | string | number | the task id |
refresh_links | boolean | optional, defines whether links related to the task should be refreshed, true by default |
gantt.addTask({
id:10,
text:"Task #5",
start_date:"02-09-2013",
duration:28
}, "project_2");
var task = gantt.getTask(10);
task.text = "Task #10"; gantt.refreshTask(10);
You can use this method to repaint a task after changing its properties. Unlike updateTask, this method does not trigger the DataProcessor, and no updates will be sent to the server.