The onRowClicked event is fired when the user clicks a task row header in the Gantt Chart component. This event is fired after the default action (specified by the rowClickHandling property).
args.task
- a DayPilot.Task object representing the task
args.x
(number) - the column index (available since 2023.1.5529)
Gantt Chart config:
{
rowClickHandling: "Enabled",
onRowClicked: (args) => {
DayPilot.Modal.alert("Clicked: " + args.task.id());
},
// ...
}