What I’m trying to do:
Download a page in Anvil into PDF and make it look nice and presentable. The issue is that I have a few tables and they are all cut up and split by the pages, making 1 table being spread into 2 pages. Are there any ways to make PDF more customizable?
Thanks!!
There are a few ways to deal with page breaks in components (search the forum for page breaks) but an easier way might be to change the size of the PDF page. This can be done by using the PDF renderer rather than the render_form() method.
https://anvil.works/docs/media/creating_pdfs#customising-settings
Anvil Extras has a PageBreak component.
3 Likes