Jump to content
Changes to the Jaspersoft community edition download ×

Display 0 as dash(-) in excel upon export


olteanra

Recommended Posts

I'm desperately trying to export to excel but display 0 values as dashes(-).

M$ Excel has a custom pattern for this and it looks like: _(*#,##0_);_(*(#,##0);_(* "-"_);_(@_)

This pattern naturally does not comply with Java's DecimalFormat.

I've failed in every way to make jasper reports pass this pattern over to excel for cell formatting.

Any ideas on how I could do this?

 

Cheers!



Post Edited by olteanra at 08/09/2010 13:39
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...