The onRowDoubleClick event is fired when the user double-clicks a task row header of the Gantt Chart, before the default action (specified by the rowDoubleClickHandling property).
The default action can be canceled by calling args.preventDefault().
dp.onRowDoubleClick = function(args) { alert("Clicked: " + args.task.id()); };