I am using itext to generate pdf files using java.I want to add 2 tables but the tables should be added开发者_开发技巧 side by side,that is table 1 should be aligned left and table 2 should aligned right but they should be side by side.Now when i create tables,The 2nd table gets created below the 1st table.How can we set the position of table.
Since a PdfPCell can take another PdfPTable as input, you could create a two column table and add your actual tables in either column.
精彩评论