Categories
Repeating a Header When Lines Overflow to the Next Page in an RTF Template

Dear All,
I have multiple groups in my RTF template, and when the content of the second group overflows to a new page, I need the header from the first group to repeat at the top of the new page.
I have already tried enabling the "Repeat as header row at the top of each page" option at the row level, but it is not functioning as expected.
Any suggestions or solutions would be greatly appreciated.
Answers
-
Put the repeating section into the Header, and loop using for-each@section.
The header will refresh with each new iteration of the loop.
See Creating Batch Reports
Rgds,
Kevin
0 -
Hi,
We have the same requirement that we have repeat the header section on every page of AR Invoice. As you mentioned Kevin, we understand that the for-each@section, header refreshes at each iteration, but the issue is, the lines overflow to next page and header is not refreshed at that moment. The expectation is to have the header section, even when the lines of the same header overflows to next page.
Please let us know if someone has achieved this successfully.
Thanks,
Prathima
0 -
Hi Prathima,
It depends on the over flow.
Is this a table that over flows?
Rgds,Kevin
0 -
Hi Kevin,
Yes, this is line overflow case for AR Invoice.
Thanks,
Prathima
0 -
Does your table extend to the next page?
You might need to add a programmatic page break (split-by-page-break:) with a counter, so after x rows, it breaks to a new pageKevin
0