Jump to content

HOw to dynamically remove Fields


Recommended Posts

By: Elvis - edorow

HOw to dynamically remove Fields

2006-06-07 07:12

Hi,

I'm trying to remove some fields from a report at runtime, but it seams that it's not possible.

I load the report and create a JasperDesign objetct.

Then I call the removeField method passing as the parameter the fields I want to remove.

But when I try to print the report, I got an error message saying that the field was not found. Of course, I removed it and I don't want it to be shown in the report.

 

Am I doing the right thing?

Thanks,

Elvis

Link to comment
Share on other sites

  • 2 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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