The rows.visible() method returns an array of Scheduler rows that are visible at the moment. It doesn't include children of rows that are collapsed and rows hidden using a row filter.
It returns a flat array with all rows included in the order in which they are displayed.
DayPilot.Scheduler.rows.visible();
A flat array of DayPilot.Row objects.