Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to disable remaining buttons when any one of them is clicked?

Hi,

I have attached a file in which there are four buttons. Initially all these are buttons are not in clicked state, such that the user can click any button as they wish. My requirement is when an user clicks any one of those buttons, the remaining unclicked buttons should be disabled. Is that possible?

Tags (1)
1 Solution

Accepted Solutions
Highlighted

Re: How to disable remaining buttons when any one of them is clicked?

Hi Vinoth,

You can do the same using only three variables. I have attached a sample for better understanding.

View solution in original post

7 Replies
Highlighted
Creator II
Creator II

Re: How to disable remaining buttons when any one of them is clicked?

Hi Vinoth,

Can you explain your requirement more,

As of my understanding, Initially all buttons are in disable mode but what basis it need to be enabled when you make a selection of a button?

or

We can make this like

when the user makes a selection on any one of the buttons, remaining button will be in disable mode but the disable button will also selectable. for that just we are changing the color combination on it.

Thanks

Kumar

Highlighted
Not applicable

Re: How to disable remaining buttons when any one of them is clicked?

In my requirement I have buttons like "last 24 hours", "last 7 days" , "last 15 days" and "last 1 month". So, If I click last 15 days buttons to see the data for last 15 days, then I should not be able to select the other three buttons. Like wise if I click last 1 month, I should not be able to select other buttons. Thats it.

Highlighted
MVP
MVP

Re: How to disable remaining buttons when any one of them is clicked?

Like in attached sample?

Highlighted
Specialist
Specialist

Re: How to disable remaining buttons when any one of them is clicked?

Hi there,

1. Add four variables: vBut1, vBut2, vBut3, vBut4 and set up them with 1 value.

2. Add four "Text Objects" and set Layer for them top. and set them transparent.

3. Move "Text Object" over buttons and resize them to fill your buttons.

4. add for "Text Objects" property "Show": =vBut1 for button1, =vBut2 for button2...

5. Add 3 actions for each button, for example for first button:

Action.External.Set Variable:

Variable: vBut2

Value: 0

Variable: vBut3

Value: 0

Variable: vBut4

Value: 0

So that If you choose one button the others became hidded beneaf "text objects"

Best regards.

Highlighted
Creator III
Creator III

Re: How to disable remaining buttons when any one of them is clicked?

Hi You can set variables on the action tab for each buttons.

Highlighted

Re: How to disable remaining buttons when any one of them is clicked?

Hi Vinoth,

You can do the same using only three variables. I have attached a sample for better understanding.

View solution in original post

Highlighted
Partner
Partner

Re: How to disable remaining buttons when any one of them is clicked?

There's a blog Steve Dark wrote on buttons some time ago.

Have a look at :

QlikView

https://www.quickintelligence.co.uk/qlikview-buttons/

QlikSense

https://www.quickintelligence.co.uk/toggle-buttons-qlik-sense/