Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display 2 object in a single tab of a container

Hello,

I have 2 listboxes, the 1st one to select a year, the 2nd one to select the month.

I want to display these 2 object in a single tab of a container (1 above the other one, in the same tab). Is it possible?

Feel free to sugest me any other solution

Thanks,

8 Replies
Not applicable
Author

Use the "multi box" object.

Not applicable
Author

Ok, but I want to avoid the drop down control.

I'd prefer to have all the value listed on the screen (multi rows x multi columns), to ease the selection for the end users.

Is it possible to customize the "multi box" that way?

Thanks for your help

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Instead you can use the container object.

   But you can see only one listbox at a time.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

May be I can cheat a bit the container,

- Increase the height of the container

- Place my 2nd listbox on top of it, so it looks part of the same tab

- Add conditional display to my 2nd listbox, so it gets hidden when another tab is activated

But how do I build this condition? Is there any way to know which tab of a container is activated?

Thanks

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Which container you are talking about. Multibox or Container Object.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
erichshiino
Partner - Master
Partner - Master

Maybe you could use some buttons to reproduce the behavior of the container object.

Use a series of buttons to set different values in a variable (for example vState). Use the value of this variable to control the visibility of your objects.

Thus,

for vState = 1. Show list box 1 and 2 and chart 1 and 2

for vState =2, show list box 3 and 4 and charts 3 and 4.

Then you can put the lists and charts in a position that you look like they are resizing or moving.

Hope this helps,

Erich

Not applicable
Author

Here is a sample,

How do i hide the listbox "Month" on top of the container, when the tab "Slider" is getting selected?

Hi Erich,

I agree with you, problem is that it becomes complex when you want to multiply the number of tab.

I have started with such idea, + changing the background color + enable/disable of the buttons according the vstate; but for the maintenance it becomes difficult.

Anonymous
Not applicable
Author


Create two grid style containers. Then create a third single object style container and add the two grid style containers to it.