Add nested table in PDF using iText

In our previous post we had seen how simple tables are added in PDF using PdfPTable. PdfPTable can be used inside Cell of simple table to create separate table creating nested tables. Lets see how to add nested table in PDF using iText.
The individual cell of the table can be treated as space for creating new tables. This way we can create various chains of nested table.

Example

Output
Add nested table in PDF using iText

Reference
1. Nested tables by iText

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn