Jump to content
Changes to the Jaspersoft community edition download ×

stretching issue


Recommended Posts

By: Simon Ship - simon_ship

stretching issue

2005-05-08 17:40

I am using jaspser 0.6.6 version.

 

My case is pretty simple. I picked up the sample named datasource from the demo that came along with the download.

 

I changed the data for the first record from

{"Berne", new Integer(22), "Bill Ott", "250 - 20th Ave."},

 

to

 

{"Berne", new Integer(22), "Bill Ott 123 123 123 123 123 123 123 123 123 123", "250 - 20th Ave."},

 

The new pdf created could be seen at http://www.drivebythoughts.com/work/DataSourceReport.pdf .

 

You see the problem. Only one the cell which needs to stretch to accomodate data stretches; the rest of the cells for the same row do not stretch. Hence the misalignment and the report doen't look so nice.

 

Any suggestion to get around this problem will be appreciated.

 

/simon

 

 

By: Teodor Danciu - teodord

RE: stretching issue

2005-05-09 01:47

 

Hi,

 

Put your detail elements inside an <elementGroup> tag

and use stretchType="RelativeToTallestObject" for all

of them.

 

This can be seen in the "table" sample provided.

 

I hope this helps.

Teodor

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