Nuclos Jasper bands: title, page header, column header, group header, detail, summary, background, band height, page template.

globe with meridians Language: Deutsch · English

open book Report bands overview

Reference of JasperReports bands – title, header/footer, groups, detail and background including height rules.

On this page

A report is defined via a page template split into horizontal sections – bands. Each band is printed a different number of times depending on its function (the page header per page, the detail band per record).

The sum of all band heights (except Background) must be ≤ page height minus top/bottom margin. The specified height is the minimum height – bands with text fields/subreports can stretch downwards.

The nine standard bands

BandPurpose
TitleFirst visible band, created once; optionally on a separate page.
Page HeaderAppears at the same position on every page.
Column HeaderAt the start of each detail column – typically column headings.
Group HeaderStart of a group; can force a page/column break and be repeated.
DetailAny number; repeated per record (unlimited total size).
Group FooterCloses a group – e.g. subtotals, separator lines.
Column FooterAt the end of each column; not stretchable at runtime.
Page FooterPage footer on every page with a header; not stretchable.
Last Page FooterDifferent footer for the last page; ignored when height is 0.
SummaryTotals/averages at the end of the report (elsewhere „report footer“).
BackgroundWatermark/frame across the whole page; max. page height.

Adding detail bands

Add further detail bands via Add Another Detail Band. The order can be changed in the XML view: the <band> elements sit between <detail>…</detail>.

Detail bands in the XML view.

Related pages

printer Creating forms with Jaspersoft Studio


Forms.

Öffnen →

clipboard Formatting


Formatting.

Öffnen →