Jump to content
JasperReports Library 7.0 is now available ×

Why does the data within a group not iterate


2005 IR Help

Recommended Posts

By: itsmeprash - itsmeprash

Why does the data within a group not iterate

2004-09-07 15:20

Hi,

 

I have a report with the data shown as a table, with 3 rows forming a logical row.

 

I am setting the

PositionType : FixRelativeToTop

StretchType : RelativeToBandHeight

 

Due to this setting some of the rows overlap. To solve this, I tried placing each row in a group so the setting of PositionType and StretchType works fine.

 

The problem is, when i place a row within a group the group does not iterate. Why is the data within a group not iterating? Or how do i solve this overlapping problem.

 

Please help.

Prash.

 

 

 

 

By: C-Box - c-box

RE: Why does the data within a group not iter

2004-09-07 22:46

Try to use

 

$V{REPORT_COUNT}

 

as group-expression for all your groups.

 

btw, I'd try position-type = "FLOAT" and strechtype = "NOSTRETCH" before using groups. When I understood right, you want three fields standing below each other that are representing one record.... so I would place three textfields on detailband below each other... then take the position-type = "FLOAT" and the strechtype = "NOSTRETCH" and the stretchwithoverflow = "YES".....

So the should appear below each other and even if one textfield is bigger to fit in the given size... then the stretchwithoverflow resizes the textfield and the other ones float down. So I've done and it works great.

 

But perhaps I missunderstood your question.

 

hth

C-Box

 

 

 

 

By: itsmeprash - itsmeprash

RE: Why does the data within a group not iterate

2004-09-08 09:07

Thanks a ton. You understood the question right.

The $V{REPORT_COUNT} worked like a charm.

 

I have more than one column in a row. So the "FLOAT" and "NOSTRETCH" did not work. This setting makes the row data not in sync with the row heading.

 

I am using my original setting the

PositionType : FixRelativeToTop

StretchType : RelativeToBandHeight

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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