Skip to main content

Info 14.1 Avoid PDF page break after group headers

Comments

4 comments

  • VISUI

    I think part of the issue in using the css page break styling is how Logi structures a table during PDF export.  In terms of HTML5 it is an invalid structure.

    There are no THEAD or TBODY wrappers.

    The reason for this is Logi used to use an older version of the PDF export engine which required Logi to build out all kinds of conditional code in order to show column headers on each page and other table formatting concerns.  

    Their new PDF engine supports HTML5, however, Logi didn't change their custom syntax of the table HTML.

    I know this doesn't resolve your issue, but it might bring to light why you are having the issue.

    0
  • Johnny Stevens

    Thanks VISUI

    This is helpful information to have. I'm working with Logi Support but the solutions they are offering are not working as of yet (e.g. adding "PrinterPageBreak=True" as an attribute in the Group Header Row). Hoping some change has been made to 14.1 that will allow this to work as desired. I'll update if we make any progress.

    Regards,
    Johnny

    0
  • VISUI

    You should be able to achieve your desired result.  I have an application I built for a client which had very similar requirements.  The solution was partially to use a sub report and applying the following style to the subReport's container (more info row)

    page-break-inside: avoid;

    The application always exports the reports to HTML first then uses that HTML for PDF output.  This was done for several reasons, one of which is that Logi's HTML export structure is more valid than its PDF exports HTML structure.

    0
  • Ethan Pearson

    This article says a printer page break can't be done on group header row. Have you seen that yet? I'm sorry I have nothing else to contribute.

    0

Please sign in to leave a comment.