Parmeter with Selection of All as Choice

0

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: 1 year 5 months ago

4 Answers:

0

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

Mariano

mlopez_1's picture
909
Joined: Oct 21 2013 - 8:08am
Last seen: 2 hours 54 min ago
0

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: 1 year 5 months ago
0

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
909
Joined: Oct 21 2013 - 8:08am
Last seen: 2 hours 54 min ago
0

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
909
Joined: Oct 21 2013 - 8:08am
Last seen: 2 hours 54 min ago
Feedback
randomness