Jump to content
JasperReports Library 7.0 is now available ×

Column footer placement


Recommended Posts

By: Ryan Johnson - delscovich

Column footer placement

2002-06-26 15:21

When you design a report using viewDesignXML, the designer shows column headers and footers like this, with the column footer immediately below the detail rows. However, when I print a report, the column footer goes at the bottom of the page, just above the page footer, leaving lots of empty space between the last detail row and the footer

 

My report uses lines to mark the sides and bottom of each column and row, so it looks like this

_________________

|____|____|____|____|

| | | | |

_________________

 

instead of this

_________________

|____|____|____|____|

|____|____|____|____|

 

 

I managed to work around it by not using a column footer and drawing a line at the bottom of each detail. The line gets covered by the next detail, except on the last one. Is there a better way to do this?

 

Thanks,

Ryan

 

 

By: Teodor Danciu - teodord

RE: Column footer placement

2002-06-27 00:33

 

Hi,

 

The column footers are meant to work that way

from day one. They are printed at the bottom of the

column, just above the page footer.

Column footers are more like page footers

than group footers.

 

If you need a footer section to put just under the

last detail section on a certain column,

you could obtain that by using a special group that

breaks with every column.

But this will imply using scriptlets and stuff and

I don't think this is the issue here.

 

Putting a line in the detail section should do the

job. The fact that this line gets covered by the next

detail seems to be the problem.

Are you sure the line is not placed beyond the

detail section height?

 

Can I see your XML report design?

 

Thank you,

Teodor

 

 

 

By: Ryan Johnson - delscovich

RE: Column footer placement

2002-06-27 08:52

Oh,

 

I actually wanted the bottom line to get covered up by the next detail row. I just drew the example wrong. My only question was whether you intended for the column footer to go at the bottom of the page.

 

Was there a particular reason you decided to do it that way?

 

 

By: Teodor Danciu - teodord

RE: Column footer placement

2002-06-28 01:56

 

Hi,

 

Before designing the library, I have studied other

reporting tools and decided to implement

something similar.

It's not a feature that I have imagined myself.

 

As I said, if the column footers don't act as you

would expect, maybe you should try another trick.

I would be happy to assist you if you want to

achieve a special design.

 

Modifying column footers behavior is not an option.

The report generating routines would have to be

rewritten.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...