I am sorry for Saying "it is not working". I forgot to add the same statement
that i have added in my previous post.. "I might be missing something".

Here is my code:
private void generatepdfReport() { 
PdfPTable  table = createPdfPTable(); // This will create my Table and add
PdfPCells to Table. 

                table .setSplitRows(false);
                table .setHeaderRows(2);
                table .setFooterRows(1);
pdfDocument.add(table);
}


private PdfPTable createPdfPTable() {
table.addCell( new PdfPCell("Text111"));
table.addCell( new PdfPCell("Text22");
....... it goes like this...
}

Can you please tell me if i am missing anything in my code.

-----
Thank you
Esh
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Problem-using-ColumnText-tp3080200p3080554.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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