Jump to content
We've recently updated our Privacy Statement, available here ×

Using a Box in the detail section


mateen83

Recommended Posts

hi,

i a using ireport 3.5.2. My detail sections contains mutiple rows the are fectche d from the db at run time. I want all rows to be surrounded by a retangular box. When i draw a box inside the detail section and run the report i get a box around each row rather then the desired effect. How can i achive this.

 

Thanks

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

If the size of the rectangle must be fixed (like on a pre-printed sheet), use the backgound band and put your rectangle there, otherwize you can simulate a rectangle using lines:

--------------------------------------------   <-- First line in the previous band (or using a print when expression for the first row)
|                                                        |
|                                                        |  <-- Vertical lines. they have to streatch with the band hight (and repeat when detail overflow)
|                                                        |
--------------------------------------------   <-- Bottom line in the following band

You can use a fake group to get header and footer band to place your top/bottom lines.

Giulio

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...