Jump to content
JasperReports Library 7.0 is now available ×

Dynamically stretch item to size of band?


cameron.urquhart_1

Recommended Posts

Hi folks,

I'm currently designing a report with a table. This report is replacing another from a different platform, and as such must be identical.

I have a label that sits at the left of my table that I need to stretch to the size of the report, like this:

[side Label] [Data Item] [Data Item]

[side Label] [Data Item] [Data Item]

[side Label] [Data Item] [Data Item]
What I ideally need is for the 'side label' to be one continous cell, while the others remain as individuals. Is there any good way to approach this? I tried changing some stretch settings but I'm not too familiar with Jasper and cannot get it to work in the way I'd like.

 

Many Thanks

Cameron

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi C-Box

It's not an actual table, it's text fields and labels. I've found a sort of solution wherein I overlay the static text field in the main report over the subreport where it should appear, this works in this circumstance as I know what the size will be (4 records), but do you know if there's a better approach (or if it's even possible to do without an actual table element)?

 

Many thanks,

Cameron

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