Prevent table rows from splitting across pages in PDF report
-
sourav.kumar
- Posts: 9
- Joined: Thu Apr 16, 2026 5:29 am
Re: Prevent table rows from splitting across pages in PDF report
Hi,
I have made some changes to the data to generate this sample. As you can see in the image, I do not want the table row to break across two pages. Instead, if the last row on the previous page does not have enough space, the entire row should start on the next page. The data should not be split into two parts across pages.
I have made some changes to the data to generate this sample. As you can see in the image, I do not want the table row to break across two pages. Instead, if the last row on the previous page does not have enough space, the entire row should start on the next page. The data should not be split into two parts across pages.
- Attachments
-
- Screenshot 2026-04-23 130525.png (64.58 KiB) Viewed 3953 times
-
Lech Kulikowski
- Posts: 7768
- Joined: Tue Mar 20, 2018 5:34 am
Re: Prevent table rows from splitting across pages in PDF report
Hello,
We need some time to investigate the issue.
Thank you.
#20094
We need some time to investigate the issue.
Thank you.
#20094
-
Lech Kulikowski
- Posts: 7768
- Joined: Tue Mar 20, 2018 5:34 am
Re: Prevent table rows from splitting across pages in PDF report
Hello,
Please check the modified report.
Thank you.
Please check the modified report.
Thank you.
- Attachments
-
- Test22.mrt
- (46.46 KiB) Downloaded 89 times
-
sourav.kumar
- Posts: 9
- Joined: Thu Apr 16, 2026 5:29 am
Re: Prevent table rows from splitting across pages in PDF report
Hi,
Could you please explain the steps you followed on the sample MRT? which properties have you adjusted or condition added.
Thanks, you
Could you please explain the steps you followed on the sample MRT? which properties have you adjusted or condition added.
Thanks, you
-
Lech Kulikowski
- Posts: 7768
- Joined: Tue Mar 20, 2018 5:34 am
Re: Prevent table rows from splitting across pages in PDF report
Hello,
Was changed the CanBreak properties for bands and the "duplicatecontentonbreak" tag has been added so that after splitting, the content is duplicated on the second page.
Thank you.
Was changed the CanBreak properties for bands and the "duplicatecontentonbreak" tag has been added so that after splitting, the content is duplicated on the second page.
Thank you.
- Attachments
-
- Screenshot 2026-04-29 092401.png (201.15 KiB) Viewed 3407 times
-
sourav.kumar
- Posts: 9
- Joined: Thu Apr 16, 2026 5:29 am
Re: Prevent table rows from splitting across pages in PDF report
Hi,
Is there anything we can do about the raggedness at the bottom of the page? It feels a bit uneven where the content breaks across pages.
Is there anything we can do about the raggedness at the bottom of the page? It feels a bit uneven where the content breaks across pages.
-
Lech Kulikowski
- Posts: 7768
- Joined: Tue Mar 20, 2018 5:34 am
Re: Prevent table rows from splitting across pages in PDF report
Hello,
Please send your report for analysis.
Also, please try to set the CanGrow and GrowToHeight properties.
Thank you.
Please send your report for analysis.
Also, please try to set the CanGrow and GrowToHeight properties.
Thank you.
-
sourav.kumar
- Posts: 9
- Joined: Thu Apr 16, 2026 5:29 am
Re: Prevent table rows from splitting across pages in PDF report
Hi,
Attached below are the report and the sample data required to replicate the issue. Thanks in advance for your help.
Attached below are the report and the sample data required to replicate the issue. Thanks in advance for your help.
-
Lech Kulikowski
- Posts: 7768
- Joined: Tue Mar 20, 2018 5:34 am
Re: Prevent table rows from splitting across pages in PDF report
Hello,
Unfortunately, there is no simple solution. In your report, with that structure, the two bands are rendered separately.
You would need either to redesign the report structure to align the rows somehow, or use double-pass rendering with scripts: in the first pass, collect the heights, and then assign the aligned heights to the components.
Thank you.
Unfortunately, there is no simple solution. In your report, with that structure, the two bands are rendered separately.
You would need either to redesign the report structure to align the rows somehow, or use double-pass rendering with scripts: in the first pass, collect the heights, and then assign the aligned heights to the components.
Thank you.