Skip to content

Group Footer Moves to Next Page Even When Space Is Available #562

@jayeshsony

Description

@jayeshsony

I am facing an issue with JasperReports group footer layout behavior.

The group footer contains summary fields (e.g., Remaining Amount / Grand Total) enclosed inside a frame. Even when there is sufficient space available on the current page, the entire group footer is pushed to the next page.

Observed Behavior

The group footer always moves to a new page if the remaining space is slightly less than the total height of the footer.

This happens even when:

Remove Line When Blank is enabled

Fields inside the footer are conditionally hidden

The issue becomes more noticeable when a frame or rectangle is used inside the group footer.

Expected Behavior

The group footer should render on the same page if enough space is available.

Only the required visible fields should consume space.

Blank or unused areas should not force a page break.

Additional Notes

The issue occurs even when there is visible space remaining on the page.

The problem seems related to how JasperReports handles group footer height and frame rendering.

Replacing the frame with individual fields or moving content to the Summary band works, but that is not ideal for layout consistency.

sample_report.txt

sample.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions