Question
“How do I expand or collapse all drilldowns from the preview window?”
Solution
Create a preview plugin that adds a new button to the main toolbar. When this button is clicked call the TppReport.ExpandDrillDowns or TppReport.CollapseDrillDowns as needed and regenerate the report.
Download: PreviewAndToggleExpandAll.zip
Sample Delphi code: