Author Topic: is there any way to expand or collpase all nodes?  (Read 1797 times)

徐雪峰

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 48
    • View Profile
is there any way to expand or collpase all nodes?
« on: July 09, 2020, 02:53:09 pm »
is there any way to expand or collpase all nodes?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: is there any way to expand or collpase all nodes?
« Reply #1 on: July 09, 2020, 05:23:06 pm »
From inbuilt UI, press Ctrl along with click on a node to expand or collapse all nodes of the same level.

In API, there are expandAll, collapseAll methods.

https://paramquery.com/pro/api#method-Group

https://paramquery.com/pro/api#method-Tree

徐雪峰

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: is there any way to expand or collpase all nodes?
« Reply #2 on: July 10, 2020, 10:23:26 am »
OK,thank you.