# Data Table Add Action

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Widget - Data Table

Block Type: [Regular](/app-editor/page-flow/block-anatomy.md#regular-block)
{% endhint %}

The [Data Table](/app-editor/page-editor/built-in-elements/data-table.md) widget presents a popup menu when the user clicks on a row of the [Data Table](/app-editor/page-editor/built-in-elements/data-table.md) widget on the page.

The **`Data Table Add Action`** block lets you add custom options to the popup menu and take an action if the user selects the option.

<div align="left"><figure><img src="/files/QA0wWvtq6geFoDkIEPE7" alt="" width="506"><figcaption><p>Data Table Add Action block</p></figcaption></figure></div>

The block consists of the following (from top to bottom):

* *Data Table*: [Selectable Input](/app-editor/page-flow/block-anatomy.md#selectable-input) to choose the [Data Table](/app-editor/page-editor/built-in-elements/data-table.md) widget from your page.
* *Label*: [Input](/app-editor/page-flow/block-anatomy.md#input) configuration setting to specify the text label for the option.
* *Icon*: [Input](/app-editor/page-flow/block-anatomy.md#input) configuration setting to specify an icon via [Font Awesome 6](https://fontawesome.com/search?o=r\&m=free\&new=yes) icon's CSS classes.
* *Selection Tasks*: a [Flow Parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) where you connect blocks that specify what you want done after a selection is made. Use the [Data Table : Table Name](/app-editor/page-flow/toolbox-blocks/data-table-table-name.md) and [Data Table : Data](/app-editor/page-flow/toolbox-blocks/data-table-data.md) blocks to aid with your processing.

{% hint style="success" %}
NOTE: Each instance of this block adds one option to the menu. Hence to add multiple options, use this block as many times as needed.
{% endhint %}

***

## Usage Example

The image below shows an example of the Data Table Add Action block where the option with label *Custom1* and and icon from [Font Awesome 6](https://fontawesome.com/search?o=r\&m=free\&new=yes) is used.

<div align="left"><figure><img src="/files/tfGKEJ2oeL19vDKIOfLY" alt="" width="563"><figcaption><p>Example of Data Table Add Action</p></figcaption></figure></div>


---

# 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.zingy.ai/app-editor/page-flow/toolbox-blocks/data-table-add-action.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.
