# Infinite Columns Horizontal Scroll Data Table (Repeating Group)

## Overview

This block allows a user to view a list of things in a mobile-friendly data table format and apply additional filters to the list. This block is useful when you need to display a high number of columns on desktop and mobile. The table is horizontally scrollable at all times (similar to an Excel spreadsheet).&#x20;

A user can click on the `︙icon` to edit or delete an item via a menu focus group. For more information on how to use the `menufocusgroup_template` reusable element, please [click here](/canvas/5.2/canvas-functionality/reference/reusable-elements/menu-focus-elements.md).&#x20;

{% hint style="info" %}
There is [another version](/canvas/5.2/canvas-library/blocks/infinite-columns-horizontal-scroll-data-table-table-element.md) of this block built using a Table element instead of Bubble's Repeating Group element. You should use this Repeating Group version if you need a more complex data table UI (e.g. nested repeating groups or clicking on a row to expand more details below the row). If you're building a simple data table, then we recommend using the Table element version.
{% endhint %}

## Structure

* When this block is added to a page, it is placed within a **Group main content - Paste group** on the page. This group contains the responsive settings for all blocks.
* This block contains these main groups:
  * **Group Infinite Horizontal Scroll Data Table** - This group contains the title, data table, empty state, and placeholder elements.
  * **Group Main header section** - contains the title, description, tabs, new button, and reusable element **filters\_template**.
  * **Group Main data table** - contains the repeating group and table elements. The repeating group that holds the main data that is displayed by the table. For demo purposes, we use Arbitrary Text as a data source. [Click here](/canvas/5.2/canvas-library/updating-asset-rg-data-source.md) to learn how to change the data source.
  * **Group scrolling container** - contains the horizontal scrollable table. Please note that this group must have a min width of 1100 in order for the table to be scrollable and have an infinite width.&#x20;
  * **Group Main empty state** -  This group can become visible when the data table repeating group contains 0 entries.&#x20;

## How can I change the data source?

For more information, please read our documentation [here](https://docs.airdev.co/canvas/canvas-library/updating-asset-rg-data-source).


---

# 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://docs.airdev.co/canvas/5.2/canvas-library/blocks/infinite-columns-horizontal-scroll-data-table-repeating-group.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.
