• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

itext table sub totals and grand totals

 
ozay duman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to generate a pdf and show page totals and grand total on each page when table data splitting How can i implement this

4
5 1

2
4


..
Page Total 13 3
Total 13 3
Page-1


1
5 9

2
2


..
Page Total 8 11
Total 21 14
Page-2
..
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find a simple iText code example at https://www.coderanch.com/how-to/java/ItextExample. It shows how to create a table, amongst other things. Be careful to consider which iText version you want to use - 2 or 5. They have different licenses, and iText 5 may require you to pay for it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic