Ayharu
Ayharu

Reputation: 101

How to create vertical line in iReport?

I'm using iReport-3.7.4 ,

I want to make table in detail like this ,

enter image description here

but , the line in this table can't longwise until the end of the table, I've placed this table in detail ..

Upvotes: 2

Views: 3920

Answers (3)

Sumer
Sumer

Reputation: 93

Put the repetitive things in sub-report and draw the vertical lines in appropriate margins. Load the sub-report in the main window with its width tallies with the parent width. Test & modify the report again an again till you get the lines in the correct places. Moreover make sure you have checked on Print Repeated Values property for the line.

I've attached some reports I've created for my project, hope they can explain you well.

The Parent Report The parent report

The Sub-Report enter image description here

The Final Output enter image description here

Upvotes: 2

Sharad
Sharad

Reputation: 3548

If you really want to draw a line then just drag line element from palette and drag the bottom middle point of that tile element to increase the size and then decrease the width by dragging left middle point.

Upvotes: 0

Parth Soni
Parth Soni

Reputation: 11658

In iReport, Right Click on a Field, and goto Padding and Borders and set Line width to 1. As shown below:

enter image description here

Upvotes: 3

Related Questions