Forums Register Login

iText - problem in splitting tables across multiple pages

+Pie Number of slices to send: Send
Hi,

Iam using iText to Create PDF. I have used ColumnText to add table which splits for multiple pages (it should come around 3 page)



But the result is not as expected. I get only the first page of my table and the remaining pages are not generated. If i use document.add(lineTable) then it works fine ie. table is splitted and table header is repeated in all the pages. But i need to use only ColumnText as i have to place the table in absolute position.

Iam not able to figure where iam doing mistake and why ColumnText is not splitting large tables. please guide.

You showed up just in time for the waffles! And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 5058 times.
Similar Threads
How do I get page numbers to my PDF document
Problem with PDF generation
Save edited pdf Page in A4 size using itext
FieldPositioningEvents in iText fails on multiple pages
PdfPTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:19:12.