Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jasper Reports - how to get column footer to appear directly below details band

I'm trying to get a column footer band to appear directly below a details band.

The details band contains normally just 2 or 3 rows and thus should not be very deep. The footer always appears further down the page and not directly below the end of the content in the details band - therefore the details band is higher than the content it contains. How do I get the details band to collapse to the end of the content so I can get the footer to appear immediately afterwards.

I'm sure this is simply a case of applying some settings - but I can't determine what these are.

Thanks.

like image 841
Peanut Avatar asked Jul 13 '10 01:07

Peanut


People also ask

How do I add a group footer band in Jasper report?

A group can even have more than one header\footer band in the designer, for example to add an header to a group it's sufficent right click on the header element in the outline view (it dosen't matter if it has black color or lightgray because at the moment there aren't other headers) and select the option "Create Band" ...

What is column footer in Jasper?

Column FooterThis appears below the detail band on each page where detail band is present. The default setting is end of page (before Page footer) but this can be switch to under last detail band (last record) by setting the attribute isFloatColumnFooter="true"

How do I add a detail band to my Jasper report?

You can create another detail band by right-clicking your detail band in the outline and choosing "create band". But to have another header and footer, I think you need to create a subreport for each table. Set up each table with its header and footer in their own report.


Video Answer


1 Answers

In iReport set Ignore pagination to true in your main report's properties.

This should cause your footer to be render at the bottom of the content in your details band.

like image 196
Gordon Avatar answered Sep 18 '22 17:09

Gordon