From C. D. Bales:
"The 'collapse all' button under Report-Customize-Categories doesn't seem to do anything."
In the Reports > Banking > Cash Flow report; go to Customize > Advanced > Subcategories, and select "Hide all".