Creating dynamic tables

Description

Creates a table which supports dynamic addition or deletion of rows.

Any field type other than Table itself can be used inside its cells.

Adding to a page

  1. To add a dynamic table to a page:
    1. From the editor toolbar, click on Insert more content  > View more.
    2. In the Select macro popup, search for scaffolding, then click on Scaffolding Field Group.

  2. The Field Group settings window appears, with the available fields below it. In the expanded Add Fields section, scroll down until you can see Table, and click-drag Table to the right, into the empty field area. Then release the mouse button to place the table.

  3. After the table has been placed, you can add headers and click-drag the appropriate fields for the columns. In the example below, the Short Text, Date, and Numbers fields are being used.



  4. After you are done with the field settings, click Save to continue. You can continue to edit the page, or you can click Publish.

It is important that the fields inside the Table are stacked horizontally like above example (and not vertically). Otherwise when Field Group macro is used in a template, it won't work as expected and users may see the "Failed to get Macro Details" error message.

Adding Data to Dynamic Tables

  1. Once you have published the page, you can add to or update the dynamic tables by clicking on Edit Content.
  2. The dynamic table is shown on the page, with an additional Actions column on the right, and an button below. You can start entering data.

  3. If you have more than one data row, the Move up and Move down buttons will also appear in the Actions column. You can delete a row by clicking on the  button.
  4. After you are done with editing, click on Save Changes, or click Cancel if you do not want to save them.

Differences between Cloud version and Server version

The dynamic tables for Scaffolding for Confluence Cloud are now grouped under the Scaffolding Field Group macro. In Scaffolding for Confluence Server and Scaffolding for Confluence Data Centre, dynamic tables are created by using the Table Data macro.