Question
“How can I force each group to start at the beginning of a new row when using left-to-right columns?”
Solution
Inside the GroupFooter.AfterGenerate event, set the TppEngine.CurrentColumn property to -1. This will force the next column printed to be the 0 (first) position.
Download: StartLeftToRightColumnOnNewRow.zip
Sample Delphi code:
1 2 3 4 5 |
procedure TForm1.ppGroupFooterBand1AfterGenerate(Sender: TObject); begin ppReport.Engine.CurrentColumn := -1; end; |