Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Clear All Selections: Button, Input box etc

Hi,

I need all selections including BUTTONS. I have used three buttons here, But by default it is always showing any one to be selected.

Can anyone help me for clearing it all.?

9 Replies
Not applicable
Author

HI Praveen,

Do you want to clear all the selection using button ?

Thank you

Vardhan

tresesco
MVP
MVP

For the list box there is 'Always One Selected Value' (General tab), uncheck that.

alexandros17
Partner - Champion III
Partner - Champion III

Use trigger in the properties of button and add clear all to the event

This clears all the fields in the document

Not applicable
Author

Hi Vardhan,

Thanks for your response.

Actually, I have table objects which displays different fields of the table based on my Button Selection.

Eg: I have A B and C as 3 buttons.

At the time opening or closing the Document. It should show only buttons without any selections.

When I press CLEAR ALL button it should refresh all my selections to Null.

Not applicable
Author

Hi Tresesco,

I am not using List box here. On pressing Clear all, it should clear all values selected in the filters or any.

tresesco
MVP
MVP

Clear All trigger clears all selection unless there is any listbox(might be hidden) with that feature enabled. If  'Always One Value Selected' is enabled for any field listbox, your clear all would not work in full. You have to find if such list boxes are there.

Not applicable
Author

In  Document Properties, set document event trigger -> OnOpen -> Add Action -> External -> set variable to null

Not applicable
Author

Or do clear all - OnOpen

sudeepkm
Specialist III
Specialist III

Please post a copy of your QVW.

As other folks have advised by setting "Clear all" at the document open trigger should work.

Can you also pls open Current Selections and see if any fields have any values selected when you open the document?