Over here things work differently. If you want the header to show alone
do:

PdfPTable table = ...;
if (table.size() <= table.getHeaderRows())
    table.setHeaderRows(0);
document.add(table);

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Cary Sweet
> Sent: Wednesday, November 24, 2004 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Re: ColumnText bug?
> 
> Paulo Soares <psoares <at> consiste.pt> writes:
> 
> > 
> > 
> > It's not a bug. As you say, it's a table with headers and no 
> > content. If it doesn't have content there's nothing to 
> > print.
> > 
> 
> On a report that has a Title, header line and content, I 
> would expect the title 
> and header line to be displayed even though there is no 
> content.  Otherwise, 
> the report shows just the Title, which makes the page 
> conspicuously empty.  The 
> reports that I have seen from other report writers ALWAYS 
> display the table 
> header even if there is no content.  In this respect, the 
> header line IS 
> concidered content in its own right.
> 
> Cary
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to