---
title: "Grouping tab"
slug: "grouping-tab"
abstract: "Use the Grouping tab to organize search results into facet-based rows or columns, with options for layout, pagination, and visibility settings."
---
# Grouping tab

The **Grouping** tab lets you organize search results into facet groups. You can group results by rows, columns, or a combination of both.

When using the grouping feature:

- You can set the number of facet values per group using the [*RestrictionsConfiguration* setting](https://doc.sitecore.com/ch/en/users/content-hub/settings.html "Settings"). The maximum number of facet values per group is 500.
- You can drill down to show more groups. However, when you use the **Show more** button the overall grouping of the search results is canceled.
- Empty groups with no items are always hidden.
- Grouping occurs only at the root level for hierarchical taxonomies. Items tagged with child taxonomy values are grouped under their parent root taxonomy.

> [!note]
> **Before you begin**
> -   [Add a **Search** component](https://doc.sitecore.com/ch/en/users/content-hub/add,-modify,-or-delete-page-components.html "Add, modify, or delete page components") to the page.

## Configure grouping

To add facet groups:

1. On the **Layout** tab, click the page component to open its details page.
2. In the **Tools** section, turn on the **Grouping** switch.
3. On the **Grouping** tab, define the following settings:

    | Field | Description |
    | --- | --- |
    | **Items per group** | The maximum number of items per group. |
    | **Hide grouping picker** | Show or hide the grouping from the search page. |
    | **Row size** | Defines the number of rows shown per page in a grouped view. If there are more rows than the defined **Row size**, the view is paginated, showing only the defined number of rows at a time. |
    | **Ascending** | The rows are sorted alphabetically and you can configure whether they appear in ascending or descending order. |

4. To change the layout of search results for a particular facet, click :mdiPlusCircle: **Add row** or :mdiPlusCircle: **Add column** to add a row or a column respectively, select the facet from the **Facet** list, and then click **Save**.

    You can add up to 10 rows and 10 columns.

5. Click **Save**.

> [!note]
> To remove a row or column, click **Remove** :mdiTrashCanOutline: next to it.