Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to collapse Treeview listbox by command button?

What i want to achieve is to collapse a treeview listbox by command button

5 Replies
sorrakis01
Specialist
Specialist

Hi,

I think you can do it by macro,

Regards

tresesco
MVP
MVP

Possibly there is no way till now. Have a look here: Re: Need List Box in Tree View Expanded by Default . You might try the 'save the document in expanded state and see' option.

Not applicable
Author

This doesnt solve my problem

Not applicable
Author

I have many treeview listbox in my dashboard. i want it to collapse after use and clicking on another listbox treeviewer

sorrakis01
Specialist
Specialist

Hi,

Here is a macro example for a pivot:

http://www.qlikcommunity.com/ideas/3302

If you need other object:

sub Example

     set obj = ActiveDocument.GetSheetObject("<ObjectName>")

     set objField=obj.GetField

     set objProperty = objField.GetProperties


Regards