ramandeep1980 Posted June 8, 2010 Share Posted June 8, 2010 Hi,I am using following property of Jasper to print Page header only once in the Excel."net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1"Value :- pageHeaderThus even though Page header is repeating n every page in PDF it is not repeating in Excel.BUTWhen I put Field or Parameter in header (for example:- if i want Date to be a column heading) they repeat twice instead of once for whole report in Excel and behave normally or in expected manner in PDF.This is weired tht they get repeated twice for whole report does not matter how long the report is.Though they shud only get printed once when taking print out on Excel.Kindly helpRegards,Raman Deep Singh Link to comment Share on other sites More sharing options...
ramandeep1980 Posted June 8, 2010 Author Share Posted June 8, 2010 For further information.I am using:- iReport :- 3.7 Professional versionJasper Server:- 3.7 Professional edition Hope this would help.Regards,Raman Deep Singh Link to comment Share on other sites More sharing options...
lucianc Posted June 17, 2010 Share Posted June 17, 2010 Do the elements that repeat twice use conditional styles?Regards,Lucian Link to comment Share on other sites More sharing options...
ramandeep1980 Posted June 17, 2010 Author Share Posted June 17, 2010 Hi Lucian,Thank you for replying.I was able to solve it.Solution was not very appealing.I just deleted the header field containing the parameterand re created it and my problem got solved. But it is weired that everything works fine till there is no field in the Headercontaining parameterAnd when u add parameter to the header Just delete and recreate it. Regards,Raman 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