Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Clear Option should not clear selcted value in list box


Hi,

I had a requirement like if we 'Clear' option also, value selected in list box should not change.

1 Solution

Accepted Solutions
Not applicable
Author

You can set the clear state to keep particular selections in a list box after you press clear.
1.) Clear all selections
2.) Make the selections you would like to be maintained

3.) Click on the down arrow next to the clear button
4.) Press "Set Clear State"

View solution in original post

16 Replies
ashfaq_haseeb
Champion III
Champion III

Hi use alternate states.

Regards

ASHFAQ

Not applicable
Author

Can you please elaborate

MK_QSL
MVP
MVP

Try to use Always One Selected Value in List BOx

venkatg6759
Creator III
Creator III

List box properties check for Always one selected value

Not applicable
Author

I cannot use that. Its linked with other sheet.So, any other way

Not applicable
Author

If users are clearing using the Clear button in default Clear All button in the default toolbar we can't control it. If you'd like to create a button to clear all in the dashboard we can control to not clear the required field(taken in listbox). In the actions in the button you created in the dashboard The first action should be Lock field and second action should be clear all and third option will be unlock field. So that the selections made on the required field won't get clear but rest all selection will be cleared.

PradeepReddy
Specialist II
Specialist II

you mean to say, always one value should be selected in the list box?

If possible, please share the context where you are implementing this?

Regards

Pradeep

ashfaq_haseeb
Champion III
Champion III

Hi

go through the below post

http://community.qlik.com/message/354466#354466

Regards

ASHFAQ

Not applicable
Author

You can set the clear state to keep particular selections in a list box after you press clear.
1.) Clear all selections
2.) Make the selections you would like to be maintained

3.) Click on the down arrow next to the clear button
4.) Press "Set Clear State"