# Table - Grouping

## Overview

* Using the grouping feature makes your columns easier to visualize, and you can enhance their visibility by highlighting them alongside other columns.

<figure><img src="/files/JT1PxZMzYoZcXfpQuO6x" alt="" width="563"><figcaption></figcaption></figure>

* Open the Properties and then click on the Grouping option.

<figure><img src="/files/Yc20ijU8MDHZAd6ZovKy" alt="" width="563"><figcaption></figcaption></figure>

* In the Grouping list, choose the columns that you want to group by.

<figure><img src="/files/OEGhBB6KiNGyhqg6pjdU" alt=""><figcaption></figcaption></figure>

* The selected column will group the table based on it.

<figure><img src="/files/4gIvp8hn0ZBXrJuWsPB6" alt=""><figcaption></figcaption></figure>

* Click on the dropdown of the grouped column to view your data.

<figure><img src="/files/oXMQD8Xt4l7APWu8atKe" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can apply this to multiple grouped columns.
{% endhint %}

<figure><img src="/files/gRwj8vjb0nPENnlxpIrx" alt=""><figcaption></figcaption></figure>

* For grouped columns, you will only have one Footer format, which is "Count all".

{% hint style="info" %}
You can rearrange the grouped column's order by dragging the ⋮⋮ icon in the Grouping list.
{% endhint %}

{% hint style="info" %}
&#x20;Click the Save changes button to confirm your settings.
{% endhint %}

## Quickly Expand and Collapse&#x20;

<figure><img src="/files/AS9LdqXk2ECFL0Mc4D2x" alt=""><figcaption></figcaption></figure>

* You can quickly expand/collapse the whole group or just a sub-group by clicking the button and then choosing.

<figure><img src="/files/2S5gVpJYaaB6CgiU9DiJ" alt=""><figcaption></figcaption></figure>

* The state of expansion/collapse will be saved on each device.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://endash-guidance-docs.gitbook.io/docs/dashboard/widget-types/table/table-grouping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
