Jump to content

Crosstab with JRMapArrayDataSource


lkc

Recommended Posts

I am trying to do a similar crosstab report shown in the following sample page.

 

http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperreports/wiki/Samples

 

The difference is that my datasource is a JRMapArrayDataSource, not from DB using SQL.

 

I would like to create the following report template

 

group header 1

crosstab1

group header 2

crosstab2

...

 

Is there a way to query the JRMapArrayDataSource to get a list of distinct values for group headers?

 

Thanks.

Link to comment
Share on other sites

  • 3 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

EDIT: Ignore the following... Actually I managed to get it working!!

 

I am wondering if there a way to populate a crosstab without connecting to a database?

 

Most of my data isn't in a database (well it is, but as a synchronized java object, not as tables & columns).

Post edited by: finnhawk, at: 2007/04/24 23:09

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