mtn
-
Posts
26 -
Joined
-
Last visited
Community Answers
-
mtn's post in Could not instantiate report compiler : net.sf.jasperreports.compilers.JRGroovyCompiler was marked as the answer
Issue has been resolved by completely removing and reinstalling jaspersoft.
-
mtn's post in Subtotal group was marked as the answer
After a lot of searching, trail and error I came to the following solution.
1. Place the fields in the relevant group header. Set the reprint
header on each page to true.
2. Create a variable with
- calculation sum
- expression: field you which to sum
- initial value expression java.math.BigDecimal.ZERO
- Increment type none
- Increment factory class: (leave empty)
- Reset type relevant group
4. Add this variable to a text field with evaluation time now.
Voila. Once again this solution seems to work but there was/is a lot of trail and error in finding a solution.
-
mtn's post in Conditional style missing was marked as the answer
Correct. In the past I was able to create a conditional style as described. Now however it seems to be dissapaered. I have tryed switching the project... without result. Resetting the perspective did not solve the problem.
Update: this seems only to be the case when trying to add a coditional style to an external stylesheet. According to this post (https://community.jaspersoft.com/questions/533024/styles-conditional-inheritance) it is impossible to add conditional styles in external shylesheets. Is this still the case?