Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic Column Widths?


2005 IR Help

Recommended Posts

By: Matthew Adair - madair

Dynamic Column Widths?

2004-05-13 11:23

Is there any way to make the width dynamic based on the size of the text in a column? What I have is times where my text is longer than the width I have defined for the column. I would like for the column to stretch HORIZONTALLY to fit the text. There are two places I need this.

1) Column Headers

2) Column detail

 

Any help would be appreciated.

 

Thanks,!

 

 

 

 

By: Mark Engstrom - me2kme

RE: Dynamic Column Widths?

2004-05-14 01:25

 

Hi,

 

I have had a similar issue and needed to use API calls, after loading a basic report design. Will send some example code I used to help with the issues I have to your sourceforge email address.

 

Thanks

Mark

Link to comment
Share on other sites

  • 11 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

2004 JR Help wrote:

By: Matthew Adair - madair
Dynamic Column Widths?
2004-05-13 11:23
Is there any way to make the width dynamic based on the size of the text in a column? What I have is times where my text is longer than the width I have defined for the column. I would like for the column to stretch HORIZONTALLY to fit the text. There are two places I need this.
1) Column Headers
2) Column detail

Any help would be appreciated.

Thanks,!




By: Mark Engstrom - me2kme
RE: Dynamic Column Widths?
2004-05-14 01:25

Hi,

I have had a similar issue and needed to use API calls, after loading a basic report design. Will send some example code I used to help with the issues I have to your sourceforge email address.

Thanks
Mark

 

By: Fengying Zhang

RE: Dynamic Column widths

2007-08-25

 

Hi, I just started using JasperReports a couple of weeks ago. I realize JasperReport doesn't support textfields stretching horizontally. so if there is a way to change the column width of a table dynamically, that could work for me. will you send me your sample codes or post it here?

Thanks so much.

Fengying

Post edited by: fzhang, at: 2007/08/25 20:07

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