Dynamically stretch item to size of band?

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

cameron.urquhart_1's picture
Joined: Oct 28 2019 - 2:27am
Last seen: 2 years 12 months ago

2 Answers:

Do you use the table component or do you just "simulate" a table with normal labels and textfields in detail band?

Regards

C-Box

C-Box's picture
19631
Joined: Jul 19 2006 - 5:58pm
Last seen: 3 months 2 days ago

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

cameron.urquhart_1's picture
Joined: Oct 28 2019 - 2:27am
Last seen: 2 years 12 months ago
Feedback
randomness