Jump to content

Freeze the page header to retain its position when exporting to xls in ireport


Recommended Posts

I need to export my report in xls and need my page header to print on the top and not disappear as I scroll down through rest of the columns.

I have the name of the report and the date in the page header band. I need this band to freeze when I export to xls.

Help appretiated. 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

1.You can freeze the top rows or columns you applying  below property 

<property name="net.sf.jasperreports.export.xls.freeze.column" value="A"/><property name="net.sf.jasperreports.export.xls.freeze.row"    value="1"/>

2. You achieve the same from the studio UI after right clicking on the textbox as below:

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