Create a dynamic table
On this page:
|
---|
Overview
In this document, we will create a dynamically expandable table that grows as you add more data.
Ingredients
Apps | Scaffolding |
---|---|
Macros | List Option, Table Data |
Guide
Create a dynamic table
Insert a Table Data macro onto your page.
For the macro name, add Employees.
This is the Table Data macro which is part of Scaffolding. It is not the same as the standard table in Confluence.
Within that Table Data macro, create a table like the one in the following image.
Fill in the table cells with Text Data, List Data, and List Option macros, as in the following image.
Remember to give each macro an appropriately unique name.
For each of the List Option macros, make sure to give an appropriate label.
The labels appear as menu options on the pull-down menu generated by the List Data macro.
Choose Edit Contents to add data to the dynamic form.
Choose the + button to create more rows in the table.
Notes
You can only have one row containing Scaffolding macros right below the header row.
Use Reporting for Confluence macros to extract data from a table and use that data on another page.
Result