Page break when printing to PDF

Hi,

Did anyone figured out how to setup page breaks on the print to PDF? Currently it breaks tables in half, or keeps the names of widgets on one page and then actual widgets on the other. Adjusting cart height does not work, as this seems to be skipped when printing to pdf.

I’ve tried adding the HTML snippet, after playing around with it for a bit this worked:

<p style="page-break-after: always;">&nbsp;</p>
<p style="page-break-before: always;">&nbsp;</p>

Then I had a html widget between grids I want to have pushed to next page, but this seem to only work for grids. Columns and waterfalls are still generated on top of it.

As a workaround I found that I can just add more empty custom rows on the bottom, but

  1. This is annoying
  2. This does not work with zero suppress, as I can not predict how many rows exactly I will have.

Kind regards,
Mateusz.