Jump to content
We've recently updated our Privacy Statement, available here ×

line has a gap between detail and column footer


andysusanto

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...

On the contrary, there is a way to do what you want.
 

Column footers, by default, are printed at the bottom of the page. If a report column does not have enough data to fill a page, there will be some blank space between the end of the column and the column footer. If we want the column footer to be printed right after the end of the column, we can do it by setting the isFloatColumnFooter attribute of the element to true.
Source:
JasperReports for Java Developers
2006 Packt Publishing
page 129

From your menu bar:
Edit > Report Properties
Click the More... tab
Check the Floating Column Footer checkbox

If you like some adventure, you can also directly modify the .jrxml code and insert
isFloatColumnFooter="true"
into the attribute-value list inside the starting tag (the first lines of code).

Sometimes its good to look at the code itself.
As you get used to looking at it and modifying little things here and there, you would be able to understand why something works (or doesn't) work.
Also, I personally think that it is SOMETIMES easier to modify the report and spot errors if you look at the code directly... SOMETIMES.
Note that I am still no expert in iReport nor in reading XML code.
However, making an effort to understand how it looks like in XML (.jrxml file) really helps.
I actually find it very interesting. :)

I hope I was able to help.


Edwin

PS:
I modified the file you posted. Please check it out. :) [file name=test1-afdb096d8bd36ee5132afc3d09fc7607.jrxml size=2769]

Post edited by: edwin, at: 2007/05/08 19:21
Post edited by: edwin, at: 2007/05/08 19:21

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...