hozawa Posted February 23, 2016 Posted February 23, 2016 I want my report to alway show 25 rows per page. If there is less than 25 rows, I want the remaining rows to be filled with blank values.It's possible to make my datasource always be a multiple of 25 by adding extra rows but if report layout changes and I want 20 rows instead, I have to change the datasource to generate in multiple of 20 instead. Since this involves programming, this isn't very good.Another way is to draw borders in a background band. This works better but changing background is clumsy and a waste of time.I can scan the form into the background but this involved creating a form image.Is there any other way to fill remaining rows with blank rows? It's very easy to drag & drop fields and set their borders. Is there a way to just add additional blank rows using this way?
Solution hozawa Posted February 24, 2016 Author Solution Posted February 24, 2016 I just modified jasperreports so I can just set "fillTo" attribute on the detail band to fill the page with empty rows till the specified value. https://github.com/ozawa-hi/jasperreports/tree/fill_with_rows
drncata Posted February 20, 2022 Posted February 20, 2022 I need to do the same, I need to have 16 rows per page.With or without data...Please help
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