Reputation: 1131
I am generating a report using JasperReports and using iReport to design it. Running Jaspersoft 4 and using iReport 4.1.3 to design the report. The report generates fine as a preview in iReport using dates, percentages and floats being rounded off. However, when it is generated via HTML the formatting fails completely.
Is this an issue with the software (Jaspersoft/iReport) or am I missing something?
I can provide examples and any other information if needed.
Upvotes: 0
Views: 3086
Reputation: 158
In version 3.7 I had a number of bad formatting issues if the data types did not match up completely.
i.e. if the field was defined as a java.lang.integer the text box also had to be defined as a java.lang.integer or the pattern was ignored.
Also found that using the iReport that matches your version of Jasper is a requirement to avoid some of the funkiness that you are seeing.
Upvotes: 1