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: 
Anonymous
Not applicable

Need List Box in Tree View Expanded by Default

Community,

I have a hierarchy list box in a tree view, and the problem is that by default on open it is always collapsed. User has to "Expand All" every time. I'm trying to find a solution to get it either
- Expanded by default (this is my first choice)
or
- Always expanded.

Looking for a macro, I found a method "ExpandedNodes" in the API guide for QV 9 (this is what I use in this particular case), but no examples nor any description. It doesn't exist in QV10 API.

Appreciate any hint in the right direction or at least in the ballpark.

Thank you

7 Replies
thkarner
Partner - Creator III
Partner - Creator III

Hi,

have you found a solution for expanding tree view list box by default (without macros)?

Regards,

Thomas

Anonymous
Not applicable
Author

No

thkarner
Partner - Creator III
Partner - Creator III

Thanks!

john_novello
Contributor II
Contributor II

Have you tried, saving your document with the tree view expanded? that has worked for me.

thkarner
Partner - Creator III
Partner - Creator III

Hi John, unfortunately this did´t work for me.

Thanks

Thomas

Anonymous
Not applicable
Author

This is exactly what I tried before going to macros.

I didn't try recently.  There were many changes since 2011, maybe it works in the latest versions. I don't need it now but will give a try eventually

john_novello
Contributor II
Contributor II

I've also noticed something else.  when the list box is linked to other list boxes it defaults to closed when refreshed from the server. But, if it is not linked, as it's own independant list box and refreshed manually. The list box stays opened.  weird.