Need to give page break in inner PdfPTable of iTextSharp

Viewed 1640

I am printing my html string in to pdf using iTextSharp. I have nested table hierarchy. I need the Inner table should be break if its not fit in the current page and Start printing on new page.

I have putted the

KeepTogether = true;
SplitLate = false;
LockedWidth = true;

For all the tables that is for parent as well as all the child tables.

But in my case the Inner table is not breaking.

Here is the Image. enter image description here

I am adding main parent table in document.add(parentTable).

I have checked that If I separate the child table from parent table and add in document directly, its breaking the page whenever require.

But for nested table its not breaking .

Can you please help me ?

Thanks

0 Answers
Related