Jump to content
Changes to the Jaspersoft community edition download ×

How to have variable number of Columns?


Recommended Posts

By: Hitesh - hitsum

How to have variable number of Columns?

2006-01-02 04:09

Hi,

 

I need to have variable number of columns(what I mean is the columns from database) on my report with their headers width also variable.

 

E.g. My report can have multiple database columns like ...

 

Emp ID | Emp First Name | Salary

| |

101 | David | 4000

102 | Kith | 5000

 

OR :

 

Emp ID|EMP F. Name|Bonus

| |

101 | David |300

 

 

How can I do this at run time?

Please help

 

Hitsum

 

 

 

 

 

By: Lucas Sanabio - lsanabio

RE: How to have variable number of Columns?

2006-01-03 05:22

I got the same problem, my report should have the products that a client bought in a period of time. So the client and the products will be in the y axis, the product will be a subreport. And the months which the user has selected will be the columns, but don't have any idea on how to do it.

 

Att,

 

Lucas Sanabio

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