1
votes

I have a subreport in detail band and a subreport in last page footer band. The subreport in detail is repeatable and page can overflow, but the subreport in the last page footer cannot be overflow.

How can I make the subreport overflow in the lastpage footer band?

1
Please don't add the irrelevant tags. iReport is just a GUI designer (not supported at present moment).Alex K

1 Answers

1
votes

You can not, the last page footer has fixed height, if it would be able to overflow, it could not ensure that it is on last page....

You need to re-think your report design, probably the subreport needs to moved to the summary band or in a fake group footer.

To generate a fake group you pass a fixed groupExpression to the group, this way it will only be executed once.

Then use the footerPosition attribute to push the groupFooter band to bottom, to understand the different position depending on other groups in reports see FooterPositionEnum

Example

<group name="fake" footerPosition="StackAtBottom">
    <groupExpression><![CDATA["fake"]]></groupExpression>
    <groupFooter>
        <band height="50"/>
    </groupFooter>
</group>