The groups.collapseAll() method collapses all concurrent event groups in the row.
dp.rows.find("A").groups.collapseAll();