Jump to content
We've recently updated our Privacy Statement, available here ×

How to stretch grouped cells in jasper report?


alexandrovadasha1

Recommended Posts

Hello, I want to stretch the lines within the group, for which I use box. I need something like this:

 

converted-file.png.4021b42643aea2cd4fffb82048f6efb2.png

To display within the same group of numbers without repetition, I use:

<printWhenExpression><![CDATA[$V{orderNumberGroup_COUNT} == 1]]></printWhenExpression>

where orderNumberGroup - it's just a simple group 

<group name="orderNumberGroup">    <groupExpression><![CDATA[$F{remark_id}]]></groupExpression></group> 

but when i generate report I received:

converted-file.png.e3c07a58931d3eb54caded4f8f99d6d7.png

(Ignore that for group 2, the number "2" was printed twice - I removed the printWhenExpression condition purely for demonstration purposes. You can see from the red lines that the box is not extended for the whole group. So my question is: how to stretch completely into one cell within one group (in other words, merge)?) The main thing: I need solution without crosstab!!!!

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

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