On 15/06/06, Adrian Maier <[EMAIL PROTECTED]> wrote: > On 15/06/06, bruno <[EMAIL PROTECTED]> wrote: > > Adrian Maier wrote: > > >I am generating a large table that can span across several pages. And > > >I'm looking for a solution to repeat the page header on each page. > > >The problem is that I'm not using PdfPTable ( which has a setHeaderRows > > >method) but the Table class. I need to generate either pdf or rtf . > > > > > >Does anyone happen to know how can i repeat the header rows when > > >using the Table class ? > > > > > Look for the method endHeaders. > > Use it after you have added the cells that define the header row(s). > > Simply adding table.setHeaders() after having added the header's cells > has no effect. Is there something else that needs to be done?
We've found the solution: table.setLastHeaderRow(0) . Cheers, Adrian Maier _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
