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: 
Anonymous
Not applicable

two buttons to apply conditional show/hide

I have a scenario with 2 buttons, - where one button allows 3 objects and hides other 3 objects; other button should show vise versa....    There are also other action of select in filed with these buttons, that is why I need two buttons .. Someone help on this?

5 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi Praveena,

Can you attach some sample file and come up with example what objects need to be show/hide and what need to be selected in Field.

Regards,

Jagan.

sujeetsingh
Master III
Master III

Praveen ,

You can do this by variable ,here is a sample plz have look

Not applicable
Author

SET variable value 1 for showing for each 3 objects u want to show like-under layouts--showonly-Vshow=1

Same as Set variable value to 0 in the 3 objects you want under layout tab.

for one button set variable is equal to '1' for another set variable is equal to '0'.

I hope it will help you.

Regards

Mahesh T

sanketkhunte
Creator II
Creator II

Instead of setting visibility of Buttons and other object; its better to present object we CONTAINER object.

You can set your view in 2 separate tabs of container and show the data as per your requirement.

It will reduce many if.. else and maintenance activity becomes easy.

Thanks

Sanket

Not applicable
Author

hi Praveena

please find Attachment

it will help u for this show and hide any number of objects