Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
mov
Champion III
Champion III

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
Partner

Hi,

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

Regards,

Thomas

mov
Champion III
Champion III
Author

No

thkarner
Partner
Partner

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
Partner

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

Thanks

Thomas

mov
Champion III
Champion III
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.