Jump to content
Changes to the Jaspersoft community edition download ×

Adding the line for grouped rows


r.reddy.galla

Recommended Posts

Hi,

am new to jasper report,have one requirement for adding the line for grouped rows

column

-----------------------

ravi

siva

john

syam

verma

william

column

------------------------

I want like this below

ravi

siva

------

john

--------

syam

verma

william

--------

Please help us on this asap.

thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Simple way is create a second Detail Band:

  • Set top border to fields on the first band and remove top and bottom borders from fields on the second band.
  • Add variable with Count calculation and Group reset type.
  • Add Print When Expression condition to bands: the first band is printed when the variable == 1 and the second one is printed when variable > 1

Also You can create Summary band to print bottom line of the report.

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...