Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 1 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | pipe |
---|
|
|
Overview
Excerpt |
---|
The Table Plus macro adds advanced functions and formatting to Confluence tables, by: - Dynamically totaling numeric data.
- Dynamically numbering each table row.
- Defining the default sort order for the table.
- Highlighting a row when the user hovers the pointer over it.
- Using CSS to style the entire table or individual columns and rows.
|
This macro supports Common table capabilities. This adds column sorting and other attributes to one or more tables found in the body of the macro. The tables can be produced by wiki markup or other means. Clicking on a column heading will cause that column to be sorted. Clicking again will reverse the order. Note that the excel, csv, or sql macros already have most of these capabilities.
Basic Use
This macro can be deployed using one of the following methods:
Selected from the Macro Browser | Table Plus |
---|
Markup Shortcut | {table-plus} |
---|
In the body of the macro, insert a Confluence table as you normally would and edit the row and columns as needed. On rendering or preview, the table-plus macro will process the table to add the advanced capabilities according to the parameters specified on the macro.
Screenshot
Image Modified
Parameters
Click a column heading to toggle the sorting of that column.
Table plus |
---|
highlightColor | #ffffec |
---|
rowStyles | background:#f0f0f0;color:#222;font-size:14px;border-bottom:black 2px solid;border-top:black 2px solid;, |
---|
style | background-color:white; |
---|
autoNumber | true |
---|
|
Parameter | Default | Macro Browser Label | Description |
---|
multiple | true | Multiple table processing | All embedded tables are affected by the table properties specified. Set to false to only apply the table properties to the outer table. |
|
Common Parameters
Include Page |
---|
| info:_CommonTableCapabilitiesParameters |
---|
| info:_CommonTableCapabilitiesParameters |
---|
|
Examples
Filter by label (Content by label) |
---|
showLabels | false |
---|
spaces | @self |
---|
showSpace | false |
---|
sort | title |
---|
|
...
...
...
cql | label = "example" and label = "table_plus" and space = currentSpace() |
---|
labels | example,table_plus |
---|
|
Other Macros
Below is a list of all other Macros available within this Add-on:
Filter by label (Content by label) |
---|
showLabels | false |
---|
spaces | @self |
---|
sort | title |
---|
type | page |
---|
cql | label = "macro_home" and type = "page" and space = currentSpace() |
---|
labels | macro_home |
---|
|
Additional References
Include Page |
---|
| _SupportFooter |
---|
| _SupportFooter |
---|
|
...