Answer the question
In order to leave comments, you need to log in
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 columnHeader
a table with introductory words and a header.
2. The rows of the table themselves are implemented in the form detail
with a set textField
inside. 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 detail
if 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
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?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question