Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Data Tables: This macro uses regular Confluence tables as data source.

  • Data Tables CSV: This macro uses local CSV data (defined in the macro body) as data source.

  • Data Tables CSV (remote): This macro uses remote CSV data (defined via a remote URL) as data source.

To make use of one of the macros click the “Insert” / “+” Button in the edit mode, select one of the macros and follow the macro specific instructions below.

...

  • Enable paging: Check to enable the paging functionality.

  • Enable searching: Check to enable the searching functionality.

  • Enable copy to clipboard: Check to enable a button that copies the table data to the clipboard.

  • Enable Excel export: Check to enable a button that exports the table data as .xlsx file.

  • Enable CSV export: Check to enable a button that exports the table data as .csv file.

  • Enable PDF export: Check to enable a button that exports the table data as .pdf file.

  • Enable printing: Check to enable a “print” button.

  • Order columns: Comma separated column numbers to order by initially (use “!” to order descending); “2!;1” for example uses column 2 (descending) as primary order column and column 1 (ascending) as second order column.

  • Footer row: Comma separated functions (min“min”, max“max”, avg“avg”, sum“sum”) to be used in the footer row.

  • Grouping columns: Comma separated column numbers to group; “2;3” for example groups by column 2 and then by column 3.

  • Detail column: Number of the column that contains the information that will be rendered as expandable/collapsible detail row.

  • Show information: Check to show dataset infos information such as number of records.

  • Disable state saving: Check to disable automatic state saving and restoring.

Macro “Data Tables CSV”

The “Data Tables CSV” macro uses (local) CSV data as data source. After inserting the macro, add the CSV data macro body and change the macro settings appropriately.

...

The macro supports the following options:

  • CSV header row: Check to use the first row as column header

  • CSV quote: Define the character that is used as CSV quote, leave empty if no quote us used.

  • CSV delimiter: Define the character that is used as CSV delimiter.

  • Enable paging: Check to enable the paging functionality.

  • Enable searching: Check to enable the searching functionality.

  • Enable copy to clipboard: Check to enable a button that copies the table data to the clipboard.

  • Enable Excel export: Check to enable a button that exports the table data as .xlsx file.

  • Enable CSV export: Check to enable a button that exports the table data as .csv file.

  • Enable PDF export: Check to enable a button that exports the table data as .pdf file.

  • Enable printing: Check to enable a “print” button.

  • Order columns: Comma separated column numbers to order by initially (use “!” to order descending); “2!;1” for example uses column 2 (descending) as primary order column and column 1 (ascending) as second order column.

  • Footer row: Comma separated functions (“min”, “max”, “avg”, “sum”) to be used in the footer row.

  • Grouping columns: Comma separated column numbers to group; “2;3” for example groups by column 2 and then by column 3.

  • Show information: Check to show dataset information such as number of records.

  • Disable state saving: Check to disable automatic state saving and restoring.

Macro “Data Tables CSV (remote)”

The “Data Tables CSV (CSVremote)” macro uses CSV remote data as data source. After inserting the macro, add the URL to load the CSV data macro body and change and all other CSV and table settings can be defined in the macro settings appropriately.

...

The macro supports the following options:

  • URL: URL to load the remote CSV data from

  • CSV header row: Check to use the first row as column header

  • CSV quote: Define the character that is used as CSV quote, leave empty if no quote us used.

  • CSV delimiter: Define the character that is used as CSV delimierdelimiter.

  • Enable paging: Check to enable the paging functionality.

  • Enable searching: Check to enable the searching functionality.

  • Enable copy to clipboard: Check to enable a button that copies the table data to the clipboard.

  • Enable Excel export: Check to enable a button that exports the table data as .xlsx file.

  • Enable CSV export: Check to enable a button that exports the table data as .csv file.

  • Enable PDF export: Check to enable a button that exports the table data as .pdf file.

  • Enable printing: Check to enable a “print” button.

  • Order columns: Comma separated column numbers to order by initially (use “!” to order descending); “2!;1” for example uses column 2 (descending) as primary order column and column 1 (ascending) as second order column.

  • Footer row: Comma separated functions (min“min”, max“max”, avg“avg”, sum“sum”) to be used in the footer row.

  • Grouping columns: Comma separated column numbers to group; “2;3” for example groups by column 2 and then by column 3.

  • Show information: Check to show dataset infos information such as number of records.

  • Disable state saving: Check to disable automatic state saving and restoring.

...