Jump to content
We've recently updated our Privacy Statement, available here ×

Custom order and crosstabs


itchytoes
Go to solution Solved by itchytoes,

Recommended Posts

Hi --

I am still struggling with this custom ordering thing. So, I created a simple MyWrapper class that I want to use to just switch the order of Integers (so that highest comes first). I modified the OrdersReport.jrxml from the jasper2.0.4 samples folder to just use this MyWrapper for columGroup bucketExpression.

My order got swapped okay, but my cells are not showing data. There's too many zeros.

I must be doing something stoopid, but I cannot figure it out. This is similar to my actual reporting problem, where my cells are showing as null when I try this custom ordering.

I've attached the modified OrdersReport.jrxml and my tiny MyWrapper.java.

I hope someone can help.

BEtty
[file name=OrdersReport-b76dd75c7cd3edd557d2b0690549c746.jrxml size=8701]

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • 4 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...