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

Excel export convert numerical columns to text


trrrrev

Recommended Posts

Greetings.

 

Upon exprorting a report to either XLSX or Excel various java numerical types (BigDecimal,integer,double,float,number) are converted to "text" on export.  Apparently adding the following line

 

net.sf.jasperreports.export.xls.detect.cell.type=true

 

to the file  

 

apache-tomcat/webapps/jasperserver/WEB-INF/classes/jasperreports.properties

 

should fix the problem.  But it hasn't , and yes I restarted the jasperserver after making the change.

 

out setup.

 

jasperserver 4.1.0 , linux.

 

Any ideas?

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 Yeah, the types im referring to are the text field types, not the field types.  The field types are also numeric.  Is their a way to dump java properties for a running java?  I want to verify that the excel export setting is being loaded.

Link to comment
Share on other sites

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