I need to have a border line for the PdfPTable but not for the cells inside. Can anyone tell me how to do it?
I have done this by putting this table inside a new cell. Now my question is how to add a line to split the rows?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In iText each PdfPCell has its own borders.
You can set the borders needed on the cell, and in case of a nested table do the same for that tables cells.
In your case you probably want to set the bottom border on the entire row that is to be separated.