Jump to content
We've recently updated our Privacy Statement, available here ×

Created a pull request to support filling with empty rows


hozawa

Recommended Posts

I've created a pull request to support filling with empty rows to a specified number in details band and in List component.

In the detail band, last page will be filled up to the specified row or until there's a page break.

In the List component and Table component, a list will be filled up to the specified row.

Appreciate if everybody would test for bugs.

Source code is available below.

https://github.com/ozawa-hi/jasperreports/tree/fill_with_rows

Pull request is here. The pull request is still Work in Progress because I want everybody to test this feature.

https://github.com/TIBCOSoftware/jasperreports/pull/58

 

I've added a sample report to the demo/samples/list/reports/ListReportWithFill.jrxml to specify in the List component.

In the details band, specify the following property on the report where value is the numbers of rows to fill up to. Specifying a large number will always fill the page till the end of the page.

<property name="net.sf.jasperreports.rows.to.fill" value="27"/>

 

I've added a sample report to the demo/samples/table/reports/TableReportRowsToFill.jrxml to specify in the Table component.

                <reportElement style="Table" x="0" y="50" width="555" height="100" uuid="c475c968-5a05-4331-8147-5fc24a48070b">
                    <property name="net.sf.jasperreports.components.table.rows.to.fill" value="30"/>
                </reportElement>

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...