Subreport table header not repeating correctly when injected into main report
Posted: Mon Oct 06, 2025 4:43 am
I am facing an issue when injecting a SubReport into a Main Report in Stimulsoft.
In the standalone SubReport, the table header (or header band) repeats correctly on each page.
But when the same SubReport is injected into a Main Report, the header becomes separated from its data rows. Sometimes the header prints alone at the bottom of a page, and the data starts on the next page. In simple words, the layout becomes messed up.
What I’ve already tried:
* Moving the header into a GroupHeaderBand in sub report with `RepeatOnEveryPage = true`.
* Splitting the table into a header table in a GroupHeaderBand and a data table in a DataBand.
* Adjusting SubReport properties such as `PrintOnPreviousPage` and `PrintOnAllPages`.
None of these solved the separation issue.
My questions:
1. Is this a known limitation when injecting SubReports into a Main Report?
2. Is there a workaround to keep headers attached to their data rows and still repeat correctly on each page when used inside a Main Report? If yes, how can i fix this?
In the standalone SubReport, the table header (or header band) repeats correctly on each page.
But when the same SubReport is injected into a Main Report, the header becomes separated from its data rows. Sometimes the header prints alone at the bottom of a page, and the data starts on the next page. In simple words, the layout becomes messed up.
What I’ve already tried:
* Moving the header into a GroupHeaderBand in sub report with `RepeatOnEveryPage = true`.
* Splitting the table into a header table in a GroupHeaderBand and a data table in a DataBand.
* Adjusting SubReport properties such as `PrintOnPreviousPage` and `PrintOnAllPages`.
None of these solved the separation issue.
My questions:
1. Is this a known limitation when injecting SubReports into a Main Report?
2. Is there a workaround to keep headers attached to their data rows and still repeat correctly on each page when used inside a Main Report? If yes, how can i fix this?