Versions Compared

Key

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

On this page

Table of Contents
maxLevel1
excludeOn this page
typeflat
separatorpipe

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. Image RemovedBy 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. 

Image Added

Macro Browser Input

Select this Macro

Macro NameTable Plus
Macro Syntax{table-plus}

Define these Parameters/Values

style="text-align:center;",style="text-align:center;",style="background:lightyellow;text-align:right;"
Allow exportselected

Auto number on each row

selected

Auto total row

selected

Sort descending

selected

Auto sort column

3

Column types

S,E,I

Column attributes

HTML Comment
hiddentrue

Screenshot

Image Modified

 

Wiki Markup Input

Code Block
languagetext
linenumberstrue
{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

...

sortDescendingtrue
sortColumn3
columnTypesS,E,I
columnAttributesstyle="text-align:center;",style="text-align:center;",style="text-align:right;background:lightyellow;"
autoNumbertrue
autoTotaltrue

...

D

...

C

...

B

...

E

...

(info) 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.

 Image Added

Other Examples

Visit our full list of product examples for additional inspiration!

...