textfield border does not span pages for all cells in rows

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
wjones14's picture
1013
Joined: Jul 19 2006 - 11:59pm
Last seen: 2 years 1 month ago

2 Answers:

Hi,

I think there is no shortcut available for this case.

Using a frame, or a rectangle, or a vertical line with 'print when detail overflows' will generate the desired output.

Hope this helps,

sanda

shertage's picture
22358
Joined: Sep 26 2006 - 8:06pm
Last seen: 2 months 3 weeks ago

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"
wjones14's picture
1013
Joined: Jul 19 2006 - 11:59pm
Last seen: 2 years 1 month ago
Feedback
randomness