Get TR break in table in Flying Saucer / Itext

Viewed 294

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
}
1 Answers

You should use:

    tr {page-break-inside: avoid}
Related