iText - avoid last row not to cut tables on page split to next page

前端 未结 3 2147
暖寄归人
暖寄归人 2020-12-10 05:45

I am working on itext 5 using java. I have pages with mutiple tables with dynamic rows. In some instances, the table last row is splitted into next page with the folowing he

3条回答
  •  攒了一身酷
    2020-12-10 06:00

    You can do

    table.setSplitRows(false);
    

    But I believe that when there is a row that wont fit it just wont be shown. It's worth a shot though

提交回复
热议问题