A
A
akkuch2012-04-24 15:51:31
Java
akkuch, 2012-04-24 15:51:31

Page break in JasperReports report on detail overflow?

Greetings.
I have a report in which the data is presented in this way:
1. At the beginning of each page there is columnHeadera table with introductory words and a header.
2. The rows of the table themselves are implemented in the form detailwith a set textFieldinside. All of them are stretched to the size of the tallest element: stretchType="RelativeToTallestObject"
When one of the cells at the end of the page has a lot of data, it crawls out onto the next page. while the rest of the text fields remain on the previous one, that is, on the new one there are no borders from them, as it would be in the table: dl.dropbox.com/u/1301077/Work/pf_1.png
How can I either force all elements to stretch on both pages , or transfer detailif it does not fit on the page?
PS: the option using a table is obvious and will most likely give better results than any crutches, but so far for some reason it has not been considered. If it doesn’t work out otherwise, then you have to make it a table.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Begemoth, 2012-04-25
@Begemoth

I myself faced a similar problem. After studying the pros and cons, I switched to using tables. Now I'm used to it and I do everything only through them;) Perhaps some reasons, upon scrupulous consideration, will turn out to be not so significant?

D
ddd06, 2016-06-21
@ddd06

set-detail-band-property-split-type-prevent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question