Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
saharadi
Contributor II
Contributor II

Tab Container-hide filter

Hey, 

can i Show\Hid filer above when swich between tabs in the "Tab container" object

saharadi_0-1735823922880.png

 


for example: 
i want to hide filter 1 when swich to tab 2 
and i want to show filter 1 when swich to tab 1 

saharadi_2-1735824030011.png

 




 

Labels (5)
3 Replies
p_verkooijen
Partner - Specialist II
Partner - Specialist II

As far as I know this is not possible.

PradeepK
Creator II
Creator II

Tab Container does not supports Actions by default. But you can leverage show condition expression and buttons / button group

PradeepK_0-1736140714864.png

Steps - 

1. Disable Container Default Tabs 

2. Create 3 buttons for Tab Navigation

Manipulate Variable on button click / action .

Let's say vTab = 1 for tab1 

vTab = 2 for tab 2 and so on..

Give button text same name as previous tab names.

3. Add vTab variable based show condition in Tab Container. (vTab = 1 ..)

4. Now the Fun Part 🙂 Hiding a field happens at script level i.e. once done it's hidden in expression editor and selection bar

Create Duplicate Field and tag it hidden using system variable.

Let's say 

LOAD OriginalField,

OriginalField as OriginalFieldCopy .. 

TAG OriginalFieldCopy AS '$hidden'

 

* Note Duplicating a filed will increase app size 

5. Tab switching

On Selecting Button 2 / Tab 2. Add Actions to select and clear fields

-> Select All values from OriginalField to OriginalFieldCopy 

-> Clear All Selection from OriginalField

 

You can do the same thing for other tabs... 😀

 

 

 

 

 

 

saharadi
Contributor II
Contributor II
Author

thank you 🙂 

but i need that ehat i click on tab on the container it will hid the filter above

it look like you gove me an opset solution