Jump to content

Dynamic column widths


chaddn

Recommended Posts

I am going to use JasperServer to email some excel or csv files on a scheduled basis.  Some of the files will have a lot of columns in them, 30+ at times.  Is there away to set the columns and page size in a report to automatically stretch with the longest value in each field and overall combined width of the columns?

The problem I have is in iReport I'm having to drop all 30 fields on a fixed width page, then resize each of the fields to the longest possible character width.  It's very time consuming.

I tried using "stretch with overflow" on the fields, but that stretches it vertically and causes row spanning in the excel file and strange output in the csv.

Any suggestions or help would be greatly appreciate.

Thanks,

Chadd

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 months later...

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