iText 5

Repeating rows

Examples that explain how to meet the very specific requirement explained in the following question: How to repeat the last 5 rows of a table on the next page?


headerrowrepeated

##GITHUB:https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/tables/HeaderRowRepeated.java##



repeatlastrows

##GITHUB:https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/tables/RepeatLastRows.java##



repeatlastrows2

##GITHUB:https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/tables/RepeatLastRows2.java##



Results

https://github.com/itext/i5js-sandbox/blob/master/cmpfiles/tables/cmp_repeat_header_row.pdf
https://github.com/itext/i5js-sandbox/blob/master/cmpfiles/tables/cmp_repeat_last_rows.pdf
https://github.com/itext/i5js-sandbox/blob/master/cmpfiles/tables/cmp_repeat_last_rows2.pdf