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

Dynamically adding fields


2004 IR Help

Recommended Posts

By: Frank Bommeli - ebommf

Dynamically adding fields

2005-03-22 07:37

Hi all,

I have a tablemodel as data source. But the number of column is not known in advance.

 

The way I solve the problem is not satisfactory:

 

- I create a template (a jrxml file) with only 1 field.

- From the JasperDesign, I extract the field and copy all data (except the position) from the template field into a newly created one. (font etc.)

 

Is there a more elegant way to solve this problem or is this the way it should be?

 

Thanks

 

Frank

 

 

 

 

By: venkatr - venkatrt77

RE: Dynamically adding fields

2005-03-23 16:36

I had a similar situation where the number of columns in the report is not known. I completed the report with "noXMLdesign" way. May be you should try this way.

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