How do I set the number of rows to be displayed per page in a report using iReports. Ex: if i have 100 records, I wasnt to display 10 per page and then break. The default behavior is to cram all the records possible in the page.
标签:
jasper-reports
相关问题
- Jasper: error opening input stream from url
- JasperReports Server parameter dependency
- is it possible print element only when its detail
- JasperReports CompileReport
- Print an arraylist content with JasperReports
相关文章
- How to set up jasper reports in spring with subrep
- Modularization of Jasper reports: Pass data source
- How to use jasperreports subreports with grails ja
- Current URL /web/guest/HTML generates exception: n
- SAX2 driver class not found
- Passing array data from PHP to JasperReports (with
- How to force image url in jasper report export to
- SubReport not shown
It depends on the page height you set.
Ok! Found a way to accomplish this!
Details
band.new java.lang.Boolean((int)($V{REPORT_COUNT}.intValue())%10==0)
where 10 is the number of records per page.
This is how it is done in iReports. The jrxml equivalent for people directly editing the file is as below.
Put this just after the
<band>
tag under<details>
tag.