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

hide and show straight tables in container

hi,

I have 2 containers each contain 18 tables and I want to hide and show table tables as per selections of filters. to achieve this I conditionally show each table but my application is not responding.

is there another solution to achieve this???

13 Replies
Anonymous
Not applicable
Author

Hi,

Thanks for the reply,

attached is the dummy example of my requirement. 

jonathandienst
Partner - Champion III
Partner - Champion III

It sounds like you want to control the current visible object in the container from selections in your data model. AFAIK, this is not possible. There is no action to set the current object.

It may be possible with macro code, but I would suggest that you drop the containers and rely on conditional display of the relevant objects based on the current selections and/or selection activity.

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

I believe using Container it won't.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

it worked for 1 container but when I use the same condition for objects of the 2nd container the application stopped working.

Anonymous
Not applicable
Author

it worked for 1 container but when I use the same condition for objects of the 2nd container the application stopped working.

Anil_Babu_Samineni

Can you explain little more, What are you trying?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Or
MVP
MVP

Sounds like what you're trying to do is outside the scope of what containers are capable of. You could get around the issue by using buttons designed to look like containers, with show/hide conditions and variables.

Anonymous
Not applicable
Author

I am not hiding the container, I am hiding straight tables of that container.

ruchirasamant
Partner - Contributor II
Partner - Contributor II

Hi,

You can try this

In each of your straight table you can show conditionaly

Layout>>Show>>Conditional>> if((GetFieldSelections(Name)='XYZ' ),1,0)




Thanks