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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

148934 Nov 8,2019 02:07 AM UTC Nov 8,2019 01:52 PM UTC ASP.NET Core 1
loading
Tags: PDF
Mark Radcliffe
Asked On November 8, 2019 02:07 AM UTC

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

Gowthamraj Kumar [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon