TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.07k stars 404 forks source link

Values Overlap When Column Count Set Higher Than 1 #464

Closed jayeshsony closed 4 months ago

jayeshsony commented 4 months ago

When I set the column count to more than 1 in my JasperReports report to display values side by side, I'm encountering an issue where the values from adjacent columns overlap. This overlap makes the report difficult to read and understand.

teodord commented 4 months ago

You have to attach the JRXML here.

teodord commented 4 months ago

You can rename your file as *.txt and attach it.

jayeshsony commented 4 months ago

custom-menu-report.txt

teodord commented 4 months ago

You need to check our /demo/samples/jasper and /demo/samples/horizontal sample reports to better understand what multi-column reports mean. They are documented here: https://jasperreports.sourceforge.net/sample.reference/horizontal/README.html#horizontal

In your detail section you have a single text element having width 511 pixels. And you want to render it on two columns of 277 pixels width. Well, of course it does not look right, with the second column overlapping the first. Not sure what you want to achieve, but if you make the text field width 277, it might be what you expect.

Thank you, Teodor