Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

iText - problem in splitting tables across multiple pages  RSS feed

Thanuja Vishwanath
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!