Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Overview
This page demonstrates how to use the Table Plus macro, which is part of the Advanced Tables for Confluence add-on, to provide view users an option to downloading or exporting (as an attachment) a CSV representation of the table view. By specifying the Allow export parameter on the macro, users will be given 2 icons that can be clicked to download or export the current table view to a CSV file. Download will place the file on the user local system. Export will create an attachment.
Macro Browser Input
Select this Macro
Macro Name | Table Plus |
Macro Syntax | {table-plus} |
Define these Parameters/Values
Allow export | selected | |
Auto number on each row | selected | |
Auto total row | selected | |
Sort descending | selected | |
Auto sort column | 3 | |
Column types | S,E,I | Column attributes | style="text-align:center;",style="text-align:center;",style="background:lightyellow;text-align:right;"
HTML Comment | ||
---|---|---|
| ||
Screenshot |
Wiki Markup Input
Code Block | ||||
---|---|---|---|---|
| ||||
{table-plus:allowExport=true|autoNumber=true|autoTotal=true|sortDescending=true|sortColumn=3|columnTypes=S,E,I|columnAttributes=style="text-align:center;",style="text-align:center;",style="style="text-align:right;background:lightyellow;"|highlightColor=lightgoldenrodyellowFF"$0,0"} || Product || On Plan || Revenue || | A | (/) | 325100 | | D | (/) | 315850 | | C | (x) | 250420 | | B | (/) | 98650 | | E | (x) | 79010 | {table-plus} |
Example Result
...
sortDescending | true |
---|---|
sortColumn | 3 |
columnTypes | S,E,I |
columnAttributes | style="text-align:center;",style="text-align:center;",style="text-align:right;background:lightyellow;" |
autoNumber | true |
autoTotal | true |
...
D
...
C
...
B
...
E
...
Note that columns are centered, rows are autonumbered, and the Revenue column is auto-totalled. You can click a column heading to sort by that column.
Other Examples
Visit our full list of product examples for additional inspiration!
...