DayPilot.Gantt.onRowDoubleClick

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().

Arguments

  • args.task - holds a DayPilot.Task object representing the task
  • args.x (number) - column index (available since 2023.1.5529)
  • args.preventDefault() - cancels the default action

Example

dp.onRowDoubleClick = function(args) {
  alert("Clicked: " + args.task.id());
};