Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional selection in list boxes

Hi Experts ,

I have a requirement where I have to select values in list boxes based on the type of selection in the multibox .

A button/text object should do the action of selecting values in these list boxes .

Scenario 1 :

Country view is selected ->

Action : All the countries should get selected on click of button/text box .

Scenario 2 :

City View is selected ->

Action : All the Countries and cities should get selected .

Is this possible without modifying the script ?

Attaching a sample qvw .

1 Solution

Accepted Solutions
jyothish8807
Master II
Master II

Hi Shantanu,

Hope this is your looking for.

Regards

KC

Best Regards,
KC

View solution in original post

8 Replies
migueldelval
Specialist
Specialist

Hi Shantanu,

Try this example, please

Regards

Miguel del Valle

Not applicable
Author

Hi Miguel ,

Thanks for the response , I want the selections to be done on click of a button/text box rather than on the value selections from the multi box .

migueldelval
Specialist
Specialist

HI shantanu_gupta

Try, please, this example. I think that it´s better for your question.

Regards

Miguel del Valle

jyothish8807
Master II
Master II

Hi Shantanu,

Hope this is your looking for.

Regards

KC

Best Regards,
KC
sunny_talwar

Have not seen what other's have proposed so far, but see if this is what you want

sunny_talwar

Updated the logic for city view selection

Not applicable
Author

Thanks for all the suggestions .

The requirement was of a single button for selecting city/country , hence marking Jyotish's answer as correct .

spsrk_84
Creator III
Creator III

Hi Shantanu,

PLease find the attached file which works in the you were looking for.

Thanks,

Shiva