DayPilot.Gantt.onRowClicked

The onRowClicked event is fired when the user clicks a task row header of the Gantt Chart component, after the default action (specified by the rowClickHandling property).

Arguments

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

Example

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