Is adding a nested table to a table cell any different than adding text to a table cell? Normally you'd use setColSpan() to achieve this. But I've only ever done with text in a cell, not a table, so I'm not sure.
Joined: Jun 16, 2003
It is a bit different, yes. However, I figured out where my trouble was a few minutes ago. I was trying to change the colspan (somehow) on the nested PdfPTable that I was inserting. Apparently, however, the way to do it is by adding the entire PdfTable to a whole other PdfPCell and changing the colspan on that instead.
I love it.
Thanks for your post though!
I hope this helps somebody!
subject: iText - Problem setting width in nested PdfPTable.