---
title: "Table Plus Macro"
canonical: "https://support.appfire.com/space/TBL/74815966/Table%20Plus%20Macro"
format: markdown
---
> Macro (div)
> 
> ### On this page
> 
> > Macro (toc)

# Overview

> Macro (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](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815958). 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](https://appfire.atlassian.net/wiki/spaces/XL/pages/76614039), [csv](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815945), or [sql](https://appfire.atlassian.net/wiki/spaces/SQL/pages/74320195) macros already have most of these capabilities.

# Feature Video

> Macro (include)

# Basic Use

<span style="color: #000000">This macro can be deployed using one of the following methods:</span>

| **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](media://c5253d02-71af-4a5d-ba27-c014b9e5fb24)

# Parameters

:info:<span style="color: #000000"> Click a column heading to toggle the sorting of that column.</span>

> Macro (table-plus)
> 
> | **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

> Macro (include)

# Examples

> Macro (contentbylabel)

# Other Macros

<span style="color: #000000">Below is a list of all other Macros available within this Add-on:</span>

> Macro (contentbylabel)

# Additional References

- [Common table capabilities](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815958)
- [CSV macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815945)
- [Excel macro](https://appfire.atlassian.net/wiki/spaces/XL/pages/76614039)
- [SQL macro](https://appfire.atlassian.net/wiki/spaces/SQL/pages/74320195)
- [Advanced Date Sorting](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74814686)
- [Web Colors](http://www.answers.com/topic/web-colors)