Friday, March 23, 2012

Hidden items, whitespace

Hi,

i have an issue with hidden items causing whitespace on the output of a report. The last page of the report contains a table, which may be hidden if certain conditions are met. However the final page is still rendered even though it contains nothing. The page does have a header and footer, but the page is still rendered if i also conditionally hide all the elements in the header or footer.

Ideally i would like the last page to not be rendered if that table is hidden. Is there any way to achieve this?

Thanks,

sluggy

Do you have a pagebreak before the table? If you hide the contents of the table, you would still get the last (blank) page. But if you hide the table (by setting table visibility property), you shouldn't get the page.

No comments:

Post a Comment