Repeat table header row is not working in RadFlowDocument

1 Answer 242 Views
PdfProcessing WordsProcessing
steven littleford
Top achievements
Rank 1
steven littleford asked on 25 Jan 2022, 07:18 AM
Hi,

We are creating a document with multiple tables using RadFlowDocument and exporting to PDF format through PdfFormatProvider. 

We are facing the problem to repeat the table heading row in every page in which corresponding table contents got added. We had set the RepeatOnEveryPage property of the header row, but it’s not working.

Version: 2021.1.322

Please help us to resolve this.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 25 Jan 2022, 02:43 PM

Hello Steven,

We have logged a request about this functionality and you can cast your vote for its implementation as well as subscribe to track the status of the task using the related public item: WordsProcessing: Add support for the RepeatOnEveryPage property of TableRow in PDF export. In the description of this item, you will also find how you can achieve such a layout in a PDF document using the PdfProcessing library.

Hope this is useful.

Regards,
Tanya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

steven littleford
Top achievements
Rank 1
commented on 09 Feb 2022, 06:16 PM

Hi Tanya,

Thank you for the details provided. 

We have achieved this by exporting a document using the DocxFormatProvider  to byte array and later converting the byte array to PDF file.

Fadhilah
Top achievements
Rank 1
commented on 01 Nov 2023, 02:54 PM

Hi Steven,

Do you mind sharing the code snippet for how you achieved this? Been stuck on it for literally weeks :(  I did try to get it into bytearray and then converting it to the PDF file, but the table headers are still not repeating.. We are gathering the input data from html, then converting it accordingly but to no avail :(

Thanks in advance!

Yoan
Telerik team
commented on 06 Nov 2023, 10:15 AM

Hello Fadhilah,

From what I understand Steven is not actually saying he managed to achieve a solution, but rather he is describing the process of how he reproduces the issue on his end.

That said, the linked task and forum still provide a workaround you can try if it fits your scenario.

Regards,

Yoan

Tags
PdfProcessing WordsProcessing
Asked by
steven littleford
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or