Jump to content
Changes to the Jaspersoft community edition download ×

PLs: JRBeanCollectionDataSource Question


fatsy

Recommended Posts

Hallo All,

 

I have a question regarding JRBeanCollectionDataSource.

I have a Arraylist of objects type A and each object of type A withhelds an Array list of Objetcts type B.

 

How can I do the reporting so that the report display the object type A with a list of its Objects type B.

When I do it separately I can create a report of Objects type A and a second report of Objects type B.

But what I want is having them on one report which could be done with subreport but I'm having problem with the data source.

 

Please help me.:(

Thanks in Advance

 

Regards

Fatma

Post edited by: fatsy, at: 2007/08/01 09:49

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Add Field in Report of type JRBeanCollectionDataSource

 

and add in that Arraylist A, JRBeanCollectionDataSource of Object B

 

and have datasource of subreport as $F{subReportList}

 

Thus your problem should be solved

 

Bye for now

 

Chirag

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