Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
reshmakala
Creator III
Creator III

Create a Tree view Listbox

Hello All,

I am trying to create a tree view listbox but all my parent nodes are greyed out. I have seen multiple posts in the community but I could not follow well. Please help me

1 Solution

Accepted Solutions
MarcoWedel

Hi,

parent nodes are selectable in treeview listboxes if those nodes are present as themselves, i.e. as parent value that does not include a child value.

See also:

Tree Hierarchy selection

Tree View Hierarchy - select entire group?

Problem in creating ListBox showing Hierarchy (TreeView )

create a list box as TreeView having only complete dinamic path of a document

Tree List box issue

Tree View list box

drop-down list box - what's wrong?

List Box TreeView, Setting Expression in General Tab - Field

One example using your sample data:

QlikCommunity_Thread_234860_Pic1.JPG

QlikCommunity_Thread_234860_Pic2.JPG

table1:

LOAD State,

    City,

    State&'|'&City as StateCity

FROM [https://community.qlik.com/servlet/JiveServlet/download/1134775-247927/treeview.xlsx] (ooxml, embedded labels, table is Sheet1);

Concatenate

LOAD Distinct State, State as StateCity

Resident table1;

hope this helps

regards

Marco

View solution in original post

4 Replies
Anil_Babu_Samineni

For me it's working

Try this

Hierarchy function easy and Efficient with example---

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
trdandamudi
Master II
Master II

It looks fine on my side...

el_aprendiz111
Specialist
Specialist

Hi,

state.gif

MarcoWedel

Hi,

parent nodes are selectable in treeview listboxes if those nodes are present as themselves, i.e. as parent value that does not include a child value.

See also:

Tree Hierarchy selection

Tree View Hierarchy - select entire group?

Problem in creating ListBox showing Hierarchy (TreeView )

create a list box as TreeView having only complete dinamic path of a document

Tree List box issue

Tree View list box

drop-down list box - what's wrong?

List Box TreeView, Setting Expression in General Tab - Field

One example using your sample data:

QlikCommunity_Thread_234860_Pic1.JPG

QlikCommunity_Thread_234860_Pic2.JPG

table1:

LOAD State,

    City,

    State&'|'&City as StateCity

FROM [https://community.qlik.com/servlet/JiveServlet/download/1134775-247927/treeview.xlsx] (ooxml, embedded labels, table is Sheet1);

Concatenate

LOAD Distinct State, State as StateCity

Resident table1;

hope this helps

regards

Marco