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

Setting sheet names for excel report


augarte

Recommended Posts

Hi, 

I'm trying to set sheet names for excel reports. In this case I have an excel file with two sheets and I try to set the sheet names as follows: 

String [] abcd = new String [2];
abcd [0] = "BBVA";
abcd [1] = "CO13";
exporterXLS.setParameter(JRXlsAbstractExporterParameter.SHEET_NAMES, abcd);
 
As a result, the first sheet is getting the name correctly ("BBVA"), but the name of the second sheet is "Page 1". Am I doing something wrong? The jasper version I'm using is 3.7.1. 
 
Thanks in advance. 
 
Best regards
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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