Jump to content

Dynamic Column Creation


Recommended Posts

By: mike w - mwans

Dynamic Column Creation

2003-05-02 12:21

Hello,

I am going to start a new report next week and would like to get some advice on where to begin. I currently have an intermediate level of understanding of Japser reports. What I need to do is create rows of items and list the quantities of those items by year (chosen by user dynamically) in the columns:

 

 

---------------------------------------------------------------

.....Item....|....1999....|....2000...|.....2001....|

.Item1......|....23........|....45......|.....34........|

. . . .

. . . .

. . . .

.Item n.....|....24........|...33.......|.....55.........|

----------------------------------------------------------------

 

The User will choose the start year and end year. The user can also add Items so if I could do that dynamically too it would be good. If I cannot have dynamic Items, it is ok, but It would be very nice if I could have dynamic items (rows) and dynamic years (columns).

 

 

Thank You very much.

 

 

 

 

By: Teodor Danciu - teodord

RE: Dynamic Column Creation

2003-05-07 14:13

 

Hi,

 

You are talking about crosstab reports.

This are not yet possible in JasperReports.

 

But with enough "courage", you can achieve

something similar using dynamic report designs

built programatically like in the "noxmldesign"

sample.

 

I hope this helps.

Teodor

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