Parmeter with Selection of All as Choice

I have a report with multiple parameters. Some of the parameters return huge amount of selection options. I would like to be able to have the first option to be ALL and it will select all of the items behind the scenes without physically selecting each item. We use input controls to drive the items available to select. Is this possible in JasperSoft either via Studio or the Server?

hprincipe_1's picture
Joined: Apr 8 2016 - 6:47am
Last seen: 5 years 3 months ago

4 Answers:

It can be done with multiselect checkbox, query or list of values.

Mariano

mlopez_1's picture
5737
Joined: Oct 21 2013 - 8:08am
Last seen: 2 months 6 days ago

Mariano,

How do you do that? I already have a multi-select query that brings in the results of the items I want to be able to select.

I just want to add in an option called ALL that would then be able to be selected and behind the scenes pull in all corresponding selections for that input control.

hprincipe_1's picture
Joined: Apr 8 2016 - 6:47am
Last seen: 5 years 3 months ago

Must be a multi-select checkbox to allow select all, unselect all.

I know this is possible since 6.X version of Jasperserver. Before this i don't know.

Checkout this:

From my jaspersver. In spanish: Todo -> Select all, Ninguno -> Select none, Inverso -> Reverse

Mariano

mlopez_1's picture
5737
Joined: Oct 21 2013 - 8:08am
Last seen: 2 months 6 days ago

I forgot to say that multiselect checkbox is for input control, paramater with the same ID must be java.util.List type.

Mariano

mlopez_1's picture
5737
Joined: Oct 21 2013 - 8:08am
Last seen: 2 months 6 days ago
Feedback
randomness