RE: Page Break – Advanced PDF table
- Is there a way to add page break in table when there are less than 5 lines of sentences near to the end of the page? Or is there any way to add page-break-inside in table?
- Is there a way to bold line item description by adding asterisks? E.g. *Bold Text* and the text will be bold.
Hi Jie,
For add page break in table, you can handle it through footer by increasing footer size in body tag.
For to add page-break-inside in table, you can use style=”page-break-inside:avoid/always” as per need.
For more info you can refer:
https://bfo.com/products/report/docs/tags/atts/page-break-inside.html#:~:text=page%2Dbreak%2Dinside%20attribute&text=Whether%20to%20allow%20the%20specified,at%20page%20breaks%20by%20default
For to bold line item description by adding asterisks- you can not bold any text using asterisks. you have to use <b>*${item.description}*</b>.
Thanks,
Ajay K Mandloi