Description
...
Overview
The Table Data micro allows dynamic addition or deletion of rows in a table.
Info |
---|
Any standard data macros (other than |
...
the Table Data macro itself) can be used inside its cells. |
On this page:
|
---|
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|
[default]/name | Yes | No | The name of the table. |
...
| ||||
initialRows | Optional | No | The number of rows to have in the section initially |
...
| |||
order | Optional | No | ascending |
...
Sort order for content
|
...
|
...
|
...
width | Optional | No | The width of the field |
...
|
...
|
...
|
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 other '|' characters
...
must not
...
have any whitespace around them.
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.
Code Block |
---|
{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:
Code Block |
---|
{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} |
Tutorial Examples
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|