The onRowExpand event is fired by the JavaScript Gantt Chart when a task tree node is expanded by the user.
DayPilot.Gantt.onRowExpand(args)
args.control
(DayPilot.Gantt) - the component reference
args.task
(DayPilot.Task) - the collapsed task
args.preventDefault()
Calling args.preventDefault()
doesn't prevent the node from expanding. It only prevents the action specified using rowExpandHandling
.