Jump to content
JasperReports Library 7.0 is now available ×

how to create a dynamic header?


wildhuman

Recommended Posts

I hope it can work like this:

in my table, there are 8 columns, and I can show any one or more columns on report according to requirement, and header name and content also should changed according to requirement.

 

For example, if I only display 5 colums, it should be:

 

Name mark1 mark2 mark3 total

aaa 100 88 77 265

 

or

Name mark1 makr3 mark4 total

aaa 100 77 66 243

 

If I want show 8 columns, it should be like:

Name mark1 mark2 mark3 mark4 mark5 mark6 total

aaa 100 88 77 66 55 44 430

 

How should I do?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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