getTaskRowNode

returns the HTML element of the task row in the table

HTMLElement getTaskRowNode(string| number id);

Parameters

idstring| numberthe task id

Returns

HTMLElementthe HTML element of the task row

Example

var taskId = gantt.addTask({
    id:10,
    text:"Task #5",
    start_date:"02-09-2013",
    duration:28
}, "project_2");
 
gantt.getTaskRowNode(10);//-><div class=​"gantt_row" task_id=​"2">​…​</div>​

See also
Back to top