Table header does not repeat on every page with HTMLToPDF
When a table has more content, while downloading the stream using the HTMLToPDF activity, the content displays in multiple pages, however, the table header does not repeat.
Steps to Reproduce
- Add a correspondence with a grid in it
- Create an activity to call the HTMLToPDF activity with correspondence as stream which prints in PDF
- Call the activity on button click
- Run the case and click the button
A software use or operation error.
A valid <table> format was not used in the correspondence. Additionally, a parameter to repeat the header in the downloaded PDF was not present in the HTMLToPDF activity.
Perform the following local-change:
Pass param.pyEnableSmartTableBreaks = true to the out-of-the-box HTMLToPDF activity and the HTML stream with <table> tag.
In case of a custom table, use <th> tag for the header.
100% found this useful