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

...

The Table Plus macro adds advanced functions and formatting to Confluence tables, by:

  • Dynamically totalling 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 supports certain common table capabilities. This adds 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 sorts the column and clicking again, reverses the order. Note that the excelExcel, csv CSV, or sql SQL macros already have most of these capabilities.

Feature Video

Include PageFeature Video - Table Plus macroFeature Video - Table Plus macro

...

Basic use

This macro can be deployed using one of the following methods:

Selected from the Macro Browsermacro browserAdvanced Tables - Table Plus
Markup Shortcutshortcut{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 Table Plus macro processes the table to add the advanced capabilities according to the parameters specified on the macro.

Screenshot

Image Removed

Parameters

(info) Click a column heading to toggle the sorting of that column.

Image Added

Table Plus option in menu

The Table Plus macro can be added to the Insert More Content menu for quick and easy access.

Image Added

Parameters

highlightColor#ffffec
Table plus

Table settings

ParameterDefaultMacro Browser LabelDescription
multipletrueMultiple table processing
Tab
rowStylesbackground:#f0f0f0;color:#222;font-size:14px;border-bottom:black 2px solid;border-top:black 2px solid;,stylebackground-color:white;autoNumbertrue
Macro editor labelDefaultDescriptionMacro parameter
Advanced settings Apply settings to nested tablesOn

All embedded tables are affected by the table properties specified.

Set to

Set this to false to only apply the table properties to the outer table.

multiple


Common

...

parameters

Include Page
info:_CommonTableCapabilitiesParametersCommonTableParameters8X
info:_CommonTableCapabilitiesParametersCommonTableParameters8X

Examples

Below is a

Filter by label (Content by label)children
showLabelsfalse
spaces@self
showSpacefalse
sorttitle
operatorAND
cqllabel = "example" and label = "table_plus" and space = currentSpace ( )
labelsexample,table_plus

Other Macros

pageExamples for Table Plus macro 8.x

Other macros

The list of all other Macros macros available within this Add-onapp is as follows:

Additional

...

references

Image Modified