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: 
jagannalla
Partner - Specialist III
Partner - Specialist III

TreeView Display

Hi,

- I want to display in sheet in treeview format. I've a 5 groups for each group there is a different FieldNames.

- If i select 1 group i want to display FieldNames of particular group only viceversa for all groups.

Eg:

Group:

A

B

C

D

E

- Now I'll select 'A' in group den i want to display FieldNames of A in list box Otherwise if i select 'B' den i want to display FieldNames of B in another list box.

13 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    Can you please tell me by what way you will be selecting the group.

    As far as i know its not possible to table the group names in list box.

Regards,

Kaushik Solanki

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

Group is a listbox.A,B,C,D,E are another listboxes

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Can you please upload the QVW for more clearification

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
IAMDV
Luminary Alumni
Luminary Alumni

jagannalla - Please can you load a QV document with sample data? I can give a try for sure. Also it would be great if you can explain in more detail.

Cheers - DV

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

I attached qvw file. If possible can you see the problem of following link it is related to this problem also.

http://community.qlik.com/message/119925#119925

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

I attached qvw file. If possible can you see the problem of following link it is related to this problem also.

http://community.qlik.com/message/119925#119925

IAMDV
Luminary Alumni
Luminary Alumni

Jagannalla - Here is the QV find attached. I had used the conditional show/hide expression to show and hide the listboxes. And you need to use this expression...

Listbox A = findoneof( GetFieldSelections(Group) , 'A') <> 0

Listbox B = findoneof( GetFieldSelections(Group) , 'B') <> 0

Apply the same logic for all the objects. I am also attaching the QV document.

Please let me know if you need more explanation

Cheers - DV

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Hi DV,

- U r code is good. But how can i keep in order of listbox. i.e based on selection in group.

- So that i can  remove the space.

     I've seen the minimize and maximize  functionalilty with charts in " Manufacturing Demo" qvw ( "Completed Cost" sheet) file that kept in qlikview community.

     But i don't know how it is working can you see once and explain me how it is working. I'm attaching that file also.

IAMDV
Luminary Alumni
Luminary Alumni

Jagannalla - I am looking into the Macnfacturing Demo. Meanwhile let me understand what you want fully... Do you want to change the position of the objects based on selection? I mean if you select A,C,E in the Group Listbox... Do you want see A,C,E Listboxes in order rather than being random?

Cheers - DV