# Auto-collapse groups in a table view

**URL:** <https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168>\
**Category:** Feature Requests\
**Created:** [December 20, 2023, 8:23pm UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168 "2023-12-20T20:23:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/nathan/32/46_2.png) [@nathan](https://community.noloco.io/u/nathan)\
**Post date:** [December 20, 2023, 8:23pm UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/1 "2023-12-20T20:23:08Z")

</div>

I have a client who would really like to be able to use groups in a table, but for the groups to be auto-collapsed when first navigating to the view. Is this possible?

---

<div class="post-metadata">

**Author:** ![darragh](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/darragh/32/12_2.png) [@darragh](https://community.noloco.io/u/darragh)\
**Post date:** [December 21, 2023, 7:29am UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/2 "2023-12-21T07:29:37Z")

</div>

Great question @nathan !

If you are grouping by a Single Option field, then yes you can collapse the individual groups by default.

Otherwise we don’t have this option yet.  
You would like **all** groups to be collapsed by default is that right?

---

<div class="post-metadata">

**Author:** ![nathan](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/nathan/32/46_2.png) [@nathan](https://community.noloco.io/u/nathan)\
**Post date:** [December 21, 2023, 2:15pm UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/3 "2023-12-21T14:15:20Z")

</div>

Yes sir! This would be in all instances. That way they can “skim” the top level info easier before diving down into detailed records.

In my case, they are grouping by a linked record or a lookup field in Airtable.

---

<div class="post-metadata">

**Author:** ![buildwithjoel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/buildwithjoel/32/1537_2.png) [@buildwithjoel](https://community.noloco.io/u/buildwithjoel)\
**Post date:** [April 4, 2024, 9:45pm UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/4 "2024-04-04T21:45:09Z")

</div>

When you say it can be collapsed “by default” do you mean that naturally it is left uncollapsed, or that there is a specific setting to make them be collapsed by default (I’ve not found one)?

Also, if Johnny were to collapse Groups A, B, but leave C expanded, what will Sue see? Same thing (is it global, user based, or session/cookie based)?

---

<div class="post-metadata">

**Author:** ![darragh](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/darragh/32/12_2.png) [@darragh](https://community.noloco.io/u/darragh)\
**Post date:** [April 5, 2024, 6:02am UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/5 "2024-04-05T06:02:00Z")

</div>

> [@buildwithjoel](#):
>
> or that there is a specific setting to make them be collapsed by default (I’ve not found one)?

When grouping by Single Option fields there is an option to determine which groups should be collapsed when the page is first opened by a user.

For non-single option fields we dont have such a setting, because there could in theory be hundreds of groups, or the groups could change depending on who is viewing the page.

We could possibly have an option to specify that they should all be collapsed though.

To answer your last question, when someone collapses or expands a group, that only persists on that device, it’s not global and it’s not cross-device, rather it’s specific to that browser

---

<div class="post-metadata">

**Author:** ![buildwithjoel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/buildwithjoel/32/1537_2.png) [@buildwithjoel](https://community.noloco.io/u/buildwithjoel)\
**Post date:** [April 5, 2024, 1:42pm UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/6 "2024-04-05T13:42:34Z")

</div>

Super helpful! Thanks for that.

Just put in a related request, to have an in-line button that allows you to collapse or expand ALL groups in one shot:

> [@Collapse/expand-all button for grouped records](https://community.noloco.io/t/collapse-expand-all-button-for-grouped-records/502):
>
> Feature Request: Collapse/expand-all button for grouped records Would love a button that can insta-collapse all groups, and insta-expand them. Makes managing large amounts of data easier, and also allows you to instantly “reset” all grouping selections, if you wanted to get them all uniform one way or the other. That way, you don’t have to click all the off ones till they’re all uniform. Example

---

<div class="post-metadata">

**Author:** ![Brandi\_Bullock](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/brandi_bullock/32/73_2.png) [@Brandi\_Bullock](https://community.noloco.io/u/Brandi_Bullock)\
**Post date:** [July 26, 2024, 12:18am UTC](https://community.noloco.io/t/auto-collapse-groups-in-a-table-view/168/7 "2024-07-26T00:18:58Z")

</div>

Here to request a ‘collapse by default’ toggle on groups! 😃
