---
title: "Create a dynamic table"
canonical: "https://support.appfire.com/space/SCAFC/477468155/Create%20a%20dynamic%20table"
format: markdown
---
> Macro (aura-html)

A dynamic table lets users add and remove rows interactively. Use the Table field within the Scaffolding - Field Group macro to create a dynamic table and embed various field types into the cells to define the input formats. This feature is ideal for tracking inventory, project components, or user entries.

## Add a dynamic table to a page

To add a dynamic table to a Confluence page, insert the Scaffolding - Field Group macro and include the Table field within it.

1. Open the page in edit mode.
2. Select **Insert elements / **() > **View more**.
3. In the *Browse *dialog, search for `Scaffolding`, select **Scaffolding - Field Group**, and click **Insert**.

<span style="color: #172b4d">The </span><span style="color: #172b4d">*Insert Scaffolding - *</span>*Field Group macro*** **dialog appears with the available fields.

3. From the *Add fields* section on the left, drag the **Table field** into the macro editor on the right.
4. Add or remove columns from the table based on your requirements.
5. Add headers to the first row of the table.
6. Drag the appropriate fields into the second row of the table to define the input type for each column. You can use any field type except the Table field.  
For example, in the following three-column table, drag the **Short Text**, **Date**, and **Numbers **fields into the cells of the second row.
7. For each field you added, select it, click **Edit **(:edit-pencil:), and configure its parameters in the *Field settings* section on the left.
8. Click **Insert **to add the macro with the dynamic table to the page.
9. Complete your edits and publish or update the page.

## Add data to a dynamic table

As a user with edit permission for the page, you can populate a Scaffolding dynamic table with data.

1. Open the page in view mode.
2. Locate the Field Group with the dynamic table and click **Edit content **in the top-right corner.  
The table opens in edit content mode with the additional *Actions *column on the right and the *+Add row* button at the bottom.
3. Add data to the table.
  - To add data to a cell, click the cell and enter the necessary information.  
The type of data you can enter depends on the field type configured for that column in the Field Group macro.
  - To add a row, click the **+Add row** button at the bottom.
  - To remove a row, click **Delete row** (:delete-zoom:) in the *Actions *column on the right.
  - To reorder a row, click **Move down** or **Move up** in the *Actions *column on the right.
4. To save your data, click **Publish **in the top-right corner of the macro.

## Interactive demо

> Macro (iframe)

## Differences between the Scaffolding Cloud and Scaffolding Data Center

In Scaffolding for Confluence Cloud, to create a dynamic table, you use the Table field in the Scaffolding - Field Group macro.

> ℹ️ In Scaffolding for Confluence Server and Scaffolding for Confluence Data Center, to create a dynamic table, you use the [Table Data](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600119) macro.