Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic Repositioning of objects

Hi all,

I have a dashboard that has five /six list boxes one below the other.
I want to hide a list box and re-align the other list boxes to occupy the space dynamically.
P.S. I don't want to use a container.
Kindly post your suggestions.
Thanks in advance.

13 Replies
arulsettu
Master III
Master III

do you want to hide the listbox based on any selection?

AbhijitBansode
Specialist
Specialist

Have set of the list box. i.e. two list box for one field

keep them at whatever position you want, make their visibility conditional depending upon your layout requirement.

krishna20
Specialist II
Specialist II

Hi,

Why can't you use Multibox?

Anonymous
Not applicable
Author

Yes Arul. If there is only one value for selection ,having a list box makes no sense.
So If that is the case,I want to hide it dynamically and re-align the other list boxes to occupy the space of the hidden list box.

Anonymous
Not applicable
Author

The requirement is to have a traditional layout. So I cannot use a multibox or a container.
I'm attaching the screenshot below.

Thanks.Selection Criteria.png

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Hiding listboxes is pretty easy.

Rearranging the others is not. You'll need to use a macro, and that will exclude the Ajax client as a target (no layout manipulation in server documents - see the QlikView Reference Manual)

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Note htat if you hide a listbox whenever the selected values are reduced to 1, it will be difficult for an end-user to undo the selection or clear a selection in a specific listbox. The only obvious remedies are the Clear All-button and the Current Selections object. But the latter may take too much space...

Anonymous
Not applicable
Author

Thank you Peter.
But can the macro be automated.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Probably. Let it be triggered by any selection in any or just the target fields.

There may be a problem in undoing the arrangement when all listboxes are visible again. IMHO, the Clear All-button won't generate events that can be captured.