Table Layouts
The HTML Table macro and its related macros allow you to create custom table layouts. While tables can easily be created using standard Confluence tools, they are somewhat inflexible, for example, a cell cannot span multiple rows or columns and custom styling cannot be added to the cells.
This group of macros overcomes these restrictions.
Add Table Layouts to your page
Basic table
Simply adding the table macros will render a simple table similar to the following:
See the examples below, to learn how to get the most of the table layout macros.
Sortable table
To create a sortable table use the Table Head {th} macros. A table heading is part of a properly formatted table that will display as bold with a grey background on Confluence pages.
The structure should be similar to this example, which also uses the Table Head and Table Body macros to define those areas of the table.
With Class parameter set to aui
When rendered, the table is displayed similar to the following:
| One | Two |
|---|---|
| cba | zyx |
HTML Output