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

Removing headers for excel


allenmvt.edu

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

The Print When expression is global and gets applied to the JasperPrint object which is the source for all exporters. Nevertheless there is way to configure hiding bands for output formats by setting report properties.

For example to hide the pageHeader only in excel you could set a global report property

net.sf.jasperreports.export.xls.exclude.origin.band.1=pageHeader

Please refer the JasperReports Configuration Refernce for further details: http://jasperreports.sourceforge.net/config.reference.html on net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name}.

 



Post Edited by mrcaffeine at 25/02/2010 08:58 AM

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