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: 
varunreddy
Creator III
Creator III

Button Object

Hi,

I am using two button objects.

Field name used - Driver.

1. BCBS - Which is used to select multi field values. i.e, ("A"|"B")

Layout condition used - Always

2. BCBS - Which is used to clear the filed.

Layout condition used - concat(driver) =  'A,B'

What I am doing here is, If I select first button, Second button will popup and if I press second, first will popup.

This is working fine.

The Isuue I am having is, if I select first button, I can see second button, but if I change the tab, second button is hiding and first button is populated. I tried to set second button layout to be top and first button to be bottom, but still second button is hiding.

Is there a way I can solve this?

Regards,

Varun

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

t1.png

The layer is a transparent drawing surface where objects are placed. The higher layer drawing surfaces are drawn over the lower layers, and objects on the higher layer can hide objects on a lower level.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

6 Replies
sunny_talwar

I don't see why it should not work. Can you may be share a sample where this kind of behavior is taking place?

Not applicable

Varun,

Use a variable and trigger a value into varibale to show button.

Like, for 1st button set variable value as vButton =1 and for second button set variable value as vButton =2 & in button layout conditions use vButton =1 or 2 based on your requirement.

Even when you change tabs the variable value will not change and will populate the button as required.

Thanks

Brad.

jonathandienst
Partner - Champion III
Partner - Champion III

It sounds like the buttons are on the same layer, so its possible that button 1 can overlay button 2.

Change button 2 to higher layer than button 1. Then, when button 2 is visible, button 1 will always be hidden. Go to Properties | Layout to set the object's layer,

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
varunreddy
Creator III
Creator III
Author

Hi John,

What do you mean by object's Layer?

jonathandienst
Partner - Champion III
Partner - Champion III

t1.png

The layer is a transparent drawing surface where objects are placed. The higher layer drawing surfaces are drawn over the lower layers, and objects on the higher layer can hide objects on a lower level.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
varunreddy
Creator III
Creator III
Author

Thanks for your time Johathan

Cheers!