Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
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

Re: Clear All Selections: Button, Input box etc

HI Praveen,

Do you want to clear all the selection using button ?

Thank you

Vardhan

MVP
MVP

Re: Clear All Selections: Button, Input box etc

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

Re: Clear All Selections: Button, Input box etc

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

This clears all the fields in the document

Not applicable

Re: Clear All Selections: Button, Input box etc

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

Re: Clear All Selections: Button, Input box etc

Hi Tresesco,

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

MVP
MVP

Re: Clear All Selections: Button, Input box etc

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

Re: Clear All Selections: Button, Input box etc

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

Not applicable

Re: Clear All Selections: Button, Input box etc

Or do clear all - OnOpen

sudeepkm
Valued Contributor III

Re: Clear All Selections: Button, Input box etc

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?