barshanap7 Posted July 17, 2018 Share Posted July 17, 2018 Hi, How to add pagination in jasper html view by using jasper studio? Please help, Urgent. Link to comment Share on other sites More sharing options...
joseng62 Posted July 17, 2018 Share Posted July 17, 2018 Some properties to set on your main report. net.sf.jasperreports.page.break.no.pagination applynet.sf.jasperreports.export.html.remove.emtpy.space.between.rows trueOn your main report tick "Ignore Pagination".So now your html will not paginated, but you can decided where to break the page for xml and html. So if you want page breaks for xls, just add page break element to band and then add the following property to page break.net.sf.jasperreports.export.xls.break.after.row true For html Add page break element, then add property net.sf.jasperreports.export.html.between.pages "<div style='page-break-after:always'></div>" 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