Jump to content
Changes to the Jaspersoft community edition download ×

Subreport column getting lost


nils.weller

Recommended Posts

Hi all!

Using Jaspersoft Studio 6.6.0 on Linux with a report setup I inherited here. I followed the tutorial at https://community.jaspersoft.com/blog/tip-horizontallooks-vertical-display-detailed-records-jasper-reports-convert-rows to have multiple columns (2 currently) containing the same subreport. The basic idea works. Different data records are shown in the two columns.

My subreport design:

outline.png.fb149282121049fc14f1666deb3e2b3c.png

The main data elements are a subreport containing a heading and a text field, an image, and another copy of the heading + text field subreport (will be replaced with other data later).

For short entries this does produce valid results:

 

good.png.57d9310c90a0a2e4e939591f01d69d34.png

However, if the text gets too long, the second column disappears - even though all elements appear to stretch and float appropriately and the static bottom text element is still correctly placed in the first column. The lost column isnt on the next page either, it feels like maybe some invisible element overflows into the second column and hides the content:

bad.png.906121dab59d75075784de57e9bcbc56.png

Do you have any tips on debugging this? Does it look like a familiar problem? After switching to the horizontal print order to get multiple columns I also had a lot of problems with the "Subreport overflowed on a band that does not support overflow." exception for long texts, but this disappeared after resizing things a bit.

Thanks for your time!

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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