Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
do you want to hide the listbox based on any selection?
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.
Hi,
Why can't you use Multibox?
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.
The requirement is to have a traditional layout. So I cannot use a multibox or a container.
I'm attaching the screenshot below.
Thanks.
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)
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...
Thank you Peter.
But can the macro be automated.
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.