onTaskRowClick

fires when the user clicks on a row in the table

void onTaskRowClick(string|number id,HTMLElement row);
idstring|numberthe task id
rowHTMLElementan HTML element of the clicked row

Example

gantt.attachEvent("onTaskRowClick", function(id,row){
    //any custom logic here
});

Back to top