Fetching array list data from groovy into rptdesign

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fetching array list data from groovy into rptdesign

KeertiASharma
Hi,

I have passed an arraylist from groovy into rptdesign by birt parameters.
I want to iterate that arraylist and fetch its data and display all data of array list in my report.

Thanx
Reply | Threaded
Open this post in threaded view
|

Re: Fetching array list data from groovy into rptdesign

Erwan de FERRIERES
Le 31/08/2010 08:47, Keerti Sharma a écrit :
>
> Hi,
>
> I have passed an arraylist from groovy into rptdesign by birt parameters.
> I want to iterate that arraylist and fetch its data and display all data of
> array list in my report.
>
> Thanx
I think you have to create a dataset, where the open method is creating
the data, and in the fetch method you are preparing the data. Then you
add a table or anything and put the columns from your dataset into.

Take a look to the example birt report. And if you have some
improvements to add, just create a jira.

HTH,

--
Erwan de FERRIERES
www.nereide.biz