The onRowDoubleClicked event is fired when the user double-clicks a task row header of the JavaScript Gantt Chart component, after the default action (specified by the rowDoubleClickHandling property).
dp.onRowDoubleClicked = function(args) { alert("Clicked: " + args.task.id()); };