showTask

makes the specified task visible on the screen

void showTask(string| number id);

Parameters

idstring| numberthe task id

Example

var taskId = gantt.addTask({
    id:10,
    text:"Task #5",
    start_date:"02-09-2013",
    duration:28
}, "project_2");
 
gantt.showTask(10);

See also
Back to top