3

I have a long table that starts on one page and finishes on another page. The issue is that tr row between these pages does not break, but it stretches. I want the following behavior: If tr can`t fit, the complete row (ALL TR, not a part) should go to the other page

Image of problem

I have tried these but not work for me

/*.tableAdditionalInfo >table{
    !*-fs-table-paginate: paginate;
    border-collapse: separate;*!
    !*page-break-inside: avoid;*!
    -fs-table-paginate: paginate;
    border-spacing: 0;
}*/
.tableAdditionalInfo > tr {
    /* page-break-before: always; */
    page-break-after: always
}
  • Welcome to SO! Have you seen https://stackoverflow.com/questions/20481039/applying-page-break-before-to-a-table-row-tr? – Christian May 17 '21 at 21:40

1 Answers1

3

You should use:

    tr {page-break-inside: avoid}
obourgain
  • 8,856
  • 6
  • 42
  • 57