We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Static table header row is repeating on every new page - Aspose PDF v21.8

Hi,

We were trying to upgrade to 21.8 and found as issue with the static table.

Static table header row is repeating on every page after a page break occurs.

This issue did not exist in Aspose v20.4.1 and started producing once we migrated to v21.8.

Attached is a sample PDF and google drive link to our sample app which can be used to generate the same PDF.

Just install Aspose and run the application, PDF will be generated in the same folder.

Please let us know how can we fix this.

Link to application: https://drive.google.com/file/d/1dQjrTy7swEoFlhH0NVArM20Z3wL--F9g/view?usp=sharing
AsposeConsoleApp_637671533230324595.pdf (203.2 KB)

Thank you.

@ovais

A ticket with ID PDFNET-50568 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

We have realized that this is probably a feature incorporated in the new version of Aspose which shows the header of the table on each page.

You may close this ticket for now since it doesn’t look like an issue and we might need this feature in future.

In case we find any problem, we will open another ticket.

Thank you.

@ovais

Thanks for the feedback. We have closed it for now.

Please confirm if there is any way we can turn this feature on and off for every static table?

For example, if we want a static table to not repeat its header on every page, what can we do to bring this behavior?

Thank you.

@ovais

You can control this behavior only when the table is added using Table class with RepeatingRowsCount Property but there is no way to control it in case of HTML fragment.