prooban Posted June 24, 2013 Share Posted June 24, 2013 Hi, I want to generate excel report without page break and only showing column header in the first page.As my report size is big one, I am using virtualizer (JRSwapFileVirtualizer). In order to make the virtualizer work I need to set the JRParameter.IS_IGNORE_PAGINATION to false. But if I set JRParameter.IS_IGNORE_PAGINATION to false then report is getting generated with page break and column header in each page. So how to generate report without page break and without repeating column header in each page (one long report) with virtualizer enabled? I have attached the report which I am getting. Link to comment Share on other sites More sharing options...
Solution Thomas Zimmer Posted June 24, 2013 Solution Share Posted June 24, 2013 This issue was addressed several times: http://community.jaspersoft.com/jasperreports-library/issues/4594 , http://community.jaspersoft.com/questions/530836/ignore-pagination-and-virtualizersHowever, I can not see a solution in the discussions.Did you try to use band filters? With them, you could achive the same xls-view without pagination:http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name}and http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.{format}.exclude.origin.keep.first.{suffix}.{arbitrary_name}But I do not know how it works in conjunction with file virtualizer (but i don't think that should make problems)Cheers, Thomashttp://www.thomaszimmer.net Link to comment Share on other sites More sharing options...
prooban Posted July 2, 2013 Author Share Posted July 2, 2013 Hi Thomas, Thank you very much. The solution is working fine. 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