Jump to content
JasperReports Library 7.0 is now available ×

Show / hide known column, not crosstab


Recommended Posts

By: Ashraf Fouad - modulo2

Show / hide known column, not crosstab

2006-02-12 03:16

Dears,

I have a report with more than 20 columns, these columns are not dynamic as incase of crosstab reports.

 

They are all known, their computations are heavy and done via Java code outside Jasperreport, then passed the datasource to report. The user is asking about feature to show/hide certain columns depending on his need.

 

When I use the printWhenexpression, it makes gaps, and I don't know how to use the crosstab in my case if it is possible.

 

Does anyone has idea how this could be done.

 

Thanks in advance for yr time

 

 

By: Rick62 - rick62

RE: Show / hide known column, not crosstab

2006-03-06 08:17

Hi,

which sort of gap did you get ?

I also use the printWhenExpression and it's work ! in this case, you always have to use a boolean.

In my report, I use it with a boolean called for example $F{print-results}. This boolean is filled via a java application and insert in a XML datasource. When true, results are printed, when false, they don't.

Hope its clear ?

regards.

Richard.

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