We have 5 textfield elements in a detail band, all stretching relative to tallest object. There is a border around all 4 sides of each cell. When the data in one cell stretches so that it causes the row to span multiple pages, the border on that cell prints for each page, but the other cell borders do not print.
I can fix this by putting a frame around each cell, and having the frame print when detail overflows, but is there a way to make the textfield borders print without doing this?
The report is PDF, and we are using JasperReports 3.0.
Post Edited by wjones14 at 03/16/2012 21:34
2 Answers:
Posted on March 21, 2012 at 12:47pm
I did get it to work using a Frame, but it was not as obvious as I would have thought. This is what I did:
- put a Frame where each cell is.
- Each Frame has 4 borders
- "Print when detail overflows" = true
- "Print repeated values" = true
- Stretch type = "Relative to tallest object"
- put a TextField where each cell is, on top of each Frame, but NOT inside the Frames.
- Each TextField has NO borders
- "Print when detail overflows" = false
- Stretch type = "Relative to tallest object"