The rows.expandAll() method expands all nodes of the task tree in the JavaScript Gantt Chart component.
DayPilot.Gantt.rows.expandAll();
gantt.rows.expandAll();
DayPilot.Gantt.rows.collapseAll()
DayPilot.Gantt Class
Availability of this API item in DayPilot editions: