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

Suppress some bands when exporting to excel at report level.


ssunilkumar

Recommended Posts

Hi,

I have a report when exported to excel should supress the page header and footer. I have searched a lot and found that there are some properties which needs to be changed at server level. But it the changes are done on server level it apllies to all the reports but in my case I do not want to do it at server level as I need the the headers to export for some reports and do not need to export for some reports.

 

Please can you suggest as early as possible.

Thank You

Sunil Kumar Sappa

suniltvg@gmail.com

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The properties I was talking about are:

<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageFooter"/>
 
These changes had to be done in Web-INF/ Folder. So just wondering without doing it in such level if can be done in report level.
I tried applying those properties to my report but it did not work as expected. 

 

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