We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

HTML to Pdf conversion in ASP.NET Core ignore repeat table header based on class

Hi

I have some HTML docs that get printed to PDF, and everything is working and are using "EnableRepeatTableHeader = true", however I was wondering if there is a way to have two 's within a single head where only the second is repeated on page break. Kind of like a "do not repeat" class for a specific row.
The use case for this is a title for a table being printed at the same place as it's rows nicely, as currently we put the title above the table but the title could sometimes be at the end of the prior page before the table starts being rendered.

Cheers

1 Reply

GK Gowthamraj Kumar Syncfusion Team November 8, 2019 01:52 PM UTC

Hi Mark, 

Thank you for using Syncfusion products. 

We have checked the reported issue with EnableRepeatTableHeader in WebKit converter. When the EnableRepeatTableHeader property is true, HTML converter will repeat the entire header content page if table is split between pages. We could not ignore any fields inside the header content, when the page break occurs. We have attached the output PDF document for your reference. Please find the screenshot from below, 

 


If it is not your requirement, kindly provide more details about the requirement and share us the HTML file, PDF document, code snippet et., so that it will be helpful for us to analyze and assist you further on this.  

Regards, 
Gowthamraj K 


Loader.
Live Chat Icon For mobile
Up arrow icon