Quoting [EMAIL PROTECTED]:

> Hi I am Using Itext Table. I am using document.newPage(); in the middle of
> the tabel. when it breaks to the next page it pronts the previous pages
> cell also to the new page. Can anyone Help please.
> 
> Part of My Code
> 
> for (int j = 0; j < ltlOutbHead.getHoldBean().size(); j++) {
(...)
>      document.add(datatable);
>      // Trigger a page break
>      document.newPage();
> } // end of main Loop

I see you add the datatable,
I see you trigger a newPage,
but where do you initialize the datatable
once you jumped to a new page?
this way the datatable is cumulating cells...

Could this be your problem?




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

Reply via email to