displaying group results horizontally

I have a fairly straightforward Jasper Report that uses Grouping for up to 8 groups. When I run it, it correctly groups and prints, but each group is on a new page. Although there are several SO and other questions that ask this same thing, I have not been able to get this to work.

What I want is exactly what I have now, but instead, for each group to lay out horizontally on the page.

The report property "print order", which several people allude to, is not changing this behavior. And when I tried setting "columns" to 3, it simply takes the first group and spreads its data over 3 columns, and then starts the next group on a new page.

I have tried every other combination of parameters that might prevent this, but without success. Does anyone know if I can show the groups horizontally across the page?

mitch_2's picture
Joined: May 3 2013 - 4:48am
Last seen: 9 years 4 months ago

1 Answer:

Simple answer: That is not possible.

Only workarounds are imaginable, perhaps with subreports printed conditionally or somethig like that. A simple draft in excel would be helpful to understand what layout you want to do exactly and what is your data.

Cheers, Thomas

http://www.thomaszimmer.net

Thomas Zimmer's picture
Joined: Oct 2 2012 - 1:35am
Last seen: 1 month 3 weeks ago

I think I know how to do this using subreports, but I was hoping there might be a way to do it the way I asked... thanks again.

mitch_2 - 9 years 8 months ago

Have a look at this post, maybe it helps:
http://community.jaspersoft.com/questions/816801/list-box-inside-list-box
But it is quite similar to using subreports, only with lists...

Thomas Zimmer - 9 years 8 months ago
Feedback
randomness