web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to add Expand All & Collapse All buttons to TreeView pages?

(1) ShareShare
ReportReport
Posted on by 2,263

There is a standard page 5522 "Order Planning". Option "ShowAsTree" in Repeater group is set to yes.

Also there are buttons "Expand All" & "Collapse All" in home page. 

But if I open page in designer, there are no such actions & code. 

How this works? I need to add the same buttons to my own page.

Thanks.

*This post is locked for comments

I have the same question (0)
  • dkatson Profile Picture
    2,263 on at
    RE: How to add Expand All & Collapse All buttons to TreeView pages?

    Thanks!

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at
    RE: How to add Expand All & Collapse All buttons to TreeView pages?

    if you able to solve the issue you can mark it as verified , its might be helpful for others  

  • Verified answer
    dkatson Profile Picture
    2,263 on at
    RE: How to add Expand All & Collapse All buttons to TreeView pages?

    The answer is

    There should be 2 parameters set:

    - "ShowAsTree" in Repeater group is set to yes

    - Page type should be "Worksheet"

    In list pages "ExpandAll" & "CollapseAll" buttons will no be displayed.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans