Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Scaffolding Forms & Templates for Confluence Data Center
Results will update as you type.
  • Overview
  • Get started
  • Use cases
  • Administrator guide
  • Developer Guide
  • Macro reference
    • Attachment Data
    • Attachment Options
    • Content Options
    • Data Section (Beta)
    • Date Data
    • Evaluate Data
    • Excerpt Data
    • Get Data
    • Group Data
    • Hidden Data
    • Label Options
    • List Data
    • List Option
    • Live Template
    • Number Data
    • Repeating Data
    • Set Data
    • Table Data
    • Text Data
    • User Options
  • Tutorials
  • Migrate from Scaffolding Data Center to Scaffolding Cloud
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Table Data
    Updated Jun 09

    Table Data

    Overview

    The Table Data micro allows dynamic addition or deletion of rows in a table.

    Any standard data macros (other than the Table Data macro itself) can be used inside its cells.

    On this page:

    • 1 Overview
    • 2 Parameters
    • 3 Notes
    • 4 Related pages

    On this page:

    • 1 Overview
    • 2 Parameters
    • 3 Notes
    • 4 Related pages

    Parameters

    Name

    Required

    Migratable to Cloud?

    Default Value

    Description

    Name

    Required

    Migratable to Cloud?

    Default Value

    Description

    [default]/name

     Yes

    No



    The name of the table.

    The name must be unique.

    initialRows

     Optional

    No



    The number of rows to have in the section initially

    Saves a user from having to click the Plus ( + ) button repeatedly.

    order

     Optional

    No

    ascending

    Sort order for content.

    If set to descending:

    • The content will be sorted in reverse order.

    • New rows will be added to the top of the repeating section.

    width

     Optional

    No



    The width of the field

    • percentage (e.g. 80%)

    • pixels (e.g. 500px)

    Only applicable for forms mode.

    Notes

    Due to the simplistic parser currently being used, you must be careful with how you format the table.

    • The main requirement is that any | characters that mark a table boundary must have whitespace on either side.

    • Conversely, any character other than | must not have any whitespace around it.

    For example, in the markup below, there are the following errors:

    • The Number column has no whitespace around the | markers.

    • The Date column does have whitespace inside the macro.

    {table-data: My Table} || Text||\Number ||Date|| | {text-data:Text}|{number-data:Number}0{number-data}|{date-data:Date| format=dd-MMM-yyyy} | {table-data}
    • The correct formatting option is:

    {table-data:My Table} || Text || Number || Date || | {text-data:Text} | {number-data:Number}0{number-data} | {date-data:Date|format=dd-MMM-yyyy} | {table-data}

    Related pages

    • Page:
      Table Data
    • Page:
      Hide a Scaffolding dynamic table in a collapsible section using the Composition Tabs app
    • Page:
      Track a workflow status
    • Page:
      Create a project details form
    • Page:
      Generate a chart from a Scaffolding dynamic table using the Reporting app
    • Page:
      Store data and use that data for calculations
    • Page:
      Retrieve data from a table
    • Page:
      Create a checklist with special characters
    • Page:
      Create a dynamic table
    {"serverDuration": 16, "requestCorrelationId": "1f4fae409747480c9f0b45ea84cb4ec2"}