Balraj Posted July 5, 2016 Share Posted July 5, 2016 Hi community,I've working on a report wherein when I Export it to XLSX, PAGE HEADER of the report should be printed in "Sheet 2" of Excel.Any Inputs Highly Appreciable :)Thanks & RegardsJasperExplorer Link to comment Share on other sites More sharing options...
hozawa Posted July 6, 2016 Share Posted July 6, 2016 If you're exporting to Excel, it's better to set the following property to set the header in spreadsheet instead of trying to use report header. Just disable the report header off when exporting to Excel and allow the following property to set Excel header instead.http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.sheet.header.center Link to comment Share on other sites More sharing options...
Balraj Posted July 7, 2016 Author Share Posted July 7, 2016 Hi @hozawa,The Page Header is Dynamic, in the suggested case it'll be only static. Page Header contains report RunTime and the User Input Selection Values.Is there any other approach to solve this?Thanks :) Link to comment Share on other sites More sharing options...
Solution Balraj Posted July 7, 2016 Author Solution Share Posted July 7, 2016 Hi I solved it, by using "net.sf.jasperreports.export.xls.break.before.row" = trueon all the elements in the PageHeader bandThanks for Support :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now