I have a lot of small tables, which i encapsulate in a sorrounding 1x1
table, and set the SplitRows attribute to false on the sorrounding table.
This way, i can avoid my table getting split when it reaches the buttom of a
page. When i get to the end of a page, and there is a little space for text,
but not enough for the next table, iText doesnt add the table at all, but
continues to the next table on a new page.

If there is not enough space for the table on the current page, id like to
send it to the next page. What can i do?

This is where i got the idea for the 1x1 table (im using the newest version
of iTextSharp):

http://compgroups.net/comp.text.pdf/Avoid-page-breaks-in-PdfPTable-using-iText-1.2

And you can see my code for the method that generates the table here:

http://pastebin.com/EnmNsFxM

Thanks !!
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to