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

Export to excel with single sheets


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

to save a single sheet only you need to copy the sheet to another workbook and save the new workbook.

to enable what you want with autoupdating then you should
1. make sure calculations are set to manual
2. run the sheet calculation fxn(tools/options/calulation/calculate sheet) when you are in the neccesary sheet to be updated.

Link to comment
Share on other sites

Hi mauro,

If you want to export the report in the excel file exclusively , then what you can do is follow these steps:

  • Firstly, click on the node column header , in the properties you would be able to see the property PrintWhenExpression , click on that and enter the expression as $V{PAGE_NUMBER}==1, this would serve a solution to the problem of the repeating headers, headers will be displayed only once.
  • Next is that you would not want the page footers(if present), to be repeating so same PrintWhenExpression could be put up as $V{PAGE_NUMBER}==1
  • You could put this printWhenExpression for any element ,  and specify the condition for its appearance , pretty handy property

Hope that this helps .

 

Thanks,

Ankur

Link to comment
Share on other sites

You could have activated "No Pagination" if you export your report to xls only.

Otherwise, use jasperreports properties: http://jasperreports.sourceforge.net/config.reference.html 

You will need

net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name}

and possibly 

net.sf.jasperreports.export.{format}.exclude.origin.keep.first.{suffix}.{arbitrary_name}

to supress single bands in specific output formats.

Cheers, Thomas

http://www.thomaszimmer.net

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