fires when the user clicks on a row in the table
gantt.attachEvent("onTaskRowClick", function(id,row){ //any custom logic here });