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  > Other Macros.
    2. In the Select macro popup, search for scaffolding, then click on Scaffolding Field Group.



  2. The Insert Field Group Macro popup window appears. Fill in a unique and descriptive name in the Field Group name section, than click on Add fields. You will need to provide a unique Field Group name.



  3. In the expanded Add Fields section, scroll down until you can see Table. Click-drag Table to the right, into the empty field area. Then release the mouse button to place the table.



  4. 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.



  5. After you are done adding the fields, click Insert to insert the table onto the page.

    If you click Edit again on the Field Group, any changes you make are not shown until after you click Publish to publish the page.

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.