Hi All,
We wanted to achieve the following using the PdfPTable. {columns wrapped to
next row}
Col1Title col2Title Col3Title Col4Title
Col5Title Col6Title
Col1Data1 Col2Data1 Col3Data1 Col4Data1
Col5Data1 Col6Data1
.
.
.
.
Col1Datan Col2Datan Col3Datan Col4Datan
Col5Datan Col6Datan
--------------------------------
We are able to get the data as below. {All columns in one single row}
Col1Title col2Title Col3Title Col4Title Col5Title
Col6Title
Col1Data1 Col2Data1 Col3Data1 Col4Data1 Col5Data1
Col6Data1
.
.
.
.
Col1Datan Col2Datan Col3Datan Col4Datan Col5Datan
Col6Datan
So basically what we need is to define fixed width columns. And if the
columns exceed the max width of the row,
they should continue on the next line, instead of compressing all the
columns into one single row.
We have some 20 columns to show in the output, so showing all the columns
data in one single row doesnt
give a readable output.
Any help is highly appreciated.
Thank you,
With regards,
Praveen.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/