Jump to content
Changes to the Jaspersoft community edition download ×

Need Pagination in Jasper Html View


barshanap7

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Some properties to set on your main report. 
net.sf.jasperreports.page.break.no.pagination   apply
net.sf.jasperreports.export.html.remove.emtpy.space.between.rows    true

On 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...