Jump to content
Changes to the Jaspersoft community edition download ×

Is there a way to pass subreport jrdatasource while exporting the main report


ashuanindian

Recommended Posts

Hello,

I hava to print a subreport for each row in main report, but the problem is I got my data for subreport only when I am returning a field value for one of the column in main report.

I read jasper reports do not support typical datatypes in field values( $F{abc} can hold only limited datatypes like string, number etc) like Arrays, List, Collection or JRDataSource.

These complex datatypes are supported by Parameters but parameter values should be passed to main report during JasperFillManager.fillreport() function at that time I don't have datasource for my subreport.

Is there any way by which I can pass my JRDataSource to subreport during exporting main report?

Please tell me If it is possible or not. If it is then how.

Please help me about this.

 

Thanks

 

 

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