Jump to content
Changes to the Jaspersoft community edition download ×

trying to obtain a table layout


joenuts

Recommended Posts

Hello.

 

I would like to know if it's possible and how to obtain a table layout in iReports that looks like the one in the attachement( that one is done in Excel).

 

Thanks. size=303]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/table.jpg

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You can do it using a combination of subreports and text fields aligned side-by-side. The subreports produce the multi-row detail, the text fields display the single field information like the "Group" shown in your example. "Group" would be the data that links the main report to the subreports.

 

 

You would need to create an element group for all of these and set the Stretch Type to "RelativeToTallestObject" for the text field elements, allowing them to grow with the number of rows in the subreports.

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