# Is there a way to always have groups collapsed by default on the nodered ui?

**URL:** <https://discourse.nodered.org/t/is-there-a-way-to-always-have-groups-collapsed-by-default-on-the-nodered-ui/81745>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [3 October 2023 13:03 UTC](https://discourse.nodered.org/t/is-there-a-way-to-always-have-groups-collapsed-by-default-on-the-nodered-ui/81745 "2023-10-03T13:03:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jellyfischer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jellyfischer/32/83408_2.png) [@jellyfischer](https://discourse.nodered.org/u/jellyfischer)\
**Post date:** [3 October 2023 13:03 UTC](https://discourse.nodered.org/t/is-there-a-way-to-always-have-groups-collapsed-by-default-on-the-nodered-ui/81745/1 "2023-10-03T13:03:49Z")

</div>

I've made a custom NodeRed UI for my phone specifically (smart home like), where I just have 1 dashboard/site with groups for different topics such as Light and Cooling etc., and I'd like all groups to be collapsed by default when I enter the site.

Is this possible?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [3 October 2023 13:09 UTC](https://discourse.nodered.org/t/is-there-a-way-to-always-have-groups-collapsed-by-default-on-the-nodered-ui/81745/2 "2023-10-03T13:09:27Z")

</div>

Use ui-control node to detect connection events and then send the group object to collapse/hide all groups required. Read help text for ui-control node in sidebar.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 December 2023 13:09 UTC](https://discourse.nodered.org/t/is-there-a-way-to-always-have-groups-collapsed-by-default-on-the-nodered-ui/81745/3 "2023-12-02T13:09:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
