devboyx Posted September 17, 2010 Share Posted September 17, 2010 Hi,New to iReport. I want to create an 'excel friendly' report, meaning it should not bet paged but rather be a table with column headers and a long list of records. This is so the end user consuming this report will be able to turn it into a pivot table easily. Is there a way to 'join' the pages so it's continuous? Cheers,DB Link to comment Share on other sites More sharing options...
svenn Posted September 17, 2010 Share Posted September 17, 2010 What do you mean by "'join the pages so it's continuous"? Link to comment Share on other sites More sharing options...
devboyx Posted September 17, 2010 Author Share Posted September 17, 2010 Well, currently I used the column header and detail sections. The query attached to the report generates a lot more records than can be displayed in one page. The result is a report comprised of multiple pages, each with the column headers. Furthermore when exported to excel, each 'page' is separated by a couple of empty excel sheet rows. I don't want the column headers more than once and I don't want row spaces between blocks of records.The idea is (in this specific report) is to give the end user a UI to basically do a select out of the DB, dump it to an excel sheet and process from there. Hope I explained well enough. Link to comment Share on other sites More sharing options...
svenn Posted September 17, 2010 Share Posted September 17, 2010 Instead of using the column header put your header information in the title band. It will be created once at the begining of the report.Check out this FAQ for making an Excel friendly reporthttp://jasperforge.org//uploads/publish/jasperreportswebsite/trunk/faq.html#FAQ9 Link to comment Share on other sites More sharing options...
devboyx Posted September 17, 2010 Author Share Posted September 17, 2010 Hi again Svenn, I tried what you proposed which got rid of the recurring column headers, but there is still a gap in the excel file a a few rows where the data switches pages. You can see in the attached a snapshot of how the HTML render looks like. The excel render simply places empty rows instead of this gap.Any ideas?Cheers,DB Link to comment Share on other sites More sharing options...
Solution devboyx Posted September 19, 2010 Author Solution Share Posted September 19, 2010 Resolved!The answer was actually a setting in OpenReports which I am using to serve my jasper files. Actually I think it is telling the jasper export engine to do something but I don't know if/what the exact jasper setting is.There is a checkbox under Administration -> Reports -> Jasper Export Options, called 'Remove empty spaces between rows'. It needs to be checked and the export drops these empty rows. Cheers,DB Link to comment Share on other sites More sharing options...
mrpatch Posted October 12, 2010 Share Posted October 12, 2010 In the page dimensions for your report, set an improbably large height; this will suppress your page breaks and any associated headers/footers Link to comment Share on other sites More sharing options...
Filip.decock Posted May 27, 2020 Share Posted May 27, 2020 I had the same problem (10 years later :-) ), and found the parameter in Jaspersoft Studio.In the 'Design' tab, go to the page setup and check the 'Ignore Pagination' parameter.That's it. 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