Need Help With Line Shifting Issue Using Jaspersoft Studio

We have a report that was created with Jaspersoft Studio version 6.20.0.final using JasperReports Library version 6.20.0-2bc7ab61c56f459e8176eb05c7705e145cd400ad.

When tested in our DEV environment, the report looked fine. The data is reported with columns and rows and lines around all the data like you would see in a table. When we moved the report, no changes to the code or anything, to our QA environment, we noticed the vertical lines were shifting.

I believe it has to do with the data and how it's wrapping. How can we stop this from occurring? Is there some way to lock the location of the vertical lines so they won't shift from one environment to a different environment. Certainly don't want to see this occurring when the code gets moved to the PROD environment.

Thank-you in advance for any assistance you can provide.

Wanda

 

wanda.bartlett's picture
Joined: Sep 23 2020 - 7:45am
Last seen: 7 months 2 weeks ago

1 Answer:

It depends on how you are building the report. I assume you can't use a table component which will essentially force column widths. You are probably correct about the data blowing out the cells. If you are using standard Text Fields, try messing with the TextAdjust property on the Text Field with some of the other options to see if that helps.

mbielkiewicz's picture
Joined: Feb 23 2014 - 9:22pm
Last seen: 1 week 1 day ago
Feedback
randomness