Jump to content
Changes to the Jaspersoft community edition download ×

How to display empty rows

2005 IR Help

Recommended Posts

By: liang wen - wenl

How to display empty rows

2004-06-18 09:56

Anyone know how to generate empty rows in the report to fill a page? If my report returns 5 rows of data, the detail section only prints 5 times. Is it possible to print the detail section with blank data until the end of page?


Ex. to look like a 25 row table w/ 5 rows of data and 20 blank rows.








By: Chuck Deal - cdeal

RE: How to display empty rows

2004-06-18 10:12

I believe that the JREmptyDataSource constructor takes an integer rpresenting the number of rows it contains (just no data).


If you knew that 30 rows filled the page, then you should be able to put a subreport in a group footer and supply a new JREmptyDataSource(maxRows - numRows) as the dataSource


I have never tried this and I am just shooting from the hip here, but the concept seems plausible.

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