svenn Posted April 4, 2007 Share Posted April 4, 2007 I have custom formatting for an item on my detail line set up in a Jasper Report Scriptlet in the afterDetailEval() method. This works great. After all the details are printed I have a total in my group footer. I’m using a variable to calculate the total. I have set the reset type to “group†and the calculation type to “Sumâ€. What I want to do is apply the same formatting that I applied to the detail line in the afterDetailEval() method to the total on my group line. I’ve tried putting the formatting code in the afterGroupInit method. It looks like the sum total for the group is not available when this is triggered. Where would be the best place to put my formatting code? Is there something special that I need to do to pick up and manipulate the total in my group variable? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now