Creating a Dynamic Table
Let's create a dynamically expandable table which grows as you add more data to it.
Ingredients
Apps | Scaffolding |
---|---|
Platform | Server, Data Center |
Macros | |
Suppliers |
Guide
Create a dynamic table:
- Start by inserting a Table Data macro onto your page.
For the macro name, let's use "Employees".
- Within that Table Data macro, create a table like the one in the following image:
Now, fill in the table cells with Text Data, Adding a dropdown list of users and List Option macros, like in the following image:
Remember to give each macro an appropriately unique name.
For each of the List Option macros, make sure to give a proper label, as the labels are what appears as menu options on the pull-down menu generated by the Adding a dropdown list of users macro.- You can now click on Edit Contents to add data into the dynamic form.
Click the + button to create more rows in the table.
Notes
- There can only be one row containing Scaffolding macros right below the header row.
- You can use Reporting for Confluence macros to extract data from a table and use that data on another page
- Remember to use unique Names to avoid conflicts