The parameters listed on this page are part of our common table capabilities that are available to many macros that produce or modify tables.
...
Table plus
Tabs
Macro Editor Label
Default
Description
Macro Parameter
Table settings
Formatting
Table id
auto generated
Generates table ID that can be referenced for use in macros (like the chart macro) or Javascript.
id
Table class
@default
Enter the class of styles to be applied for the table. By default, value is confluenceTable. Use a blank (one or more spaces) value to not have any table class.
class
Table style
Enter style attributes for the table. For example: font-style:italic; background:lightblue;.
style
Table width
Enter width for the table in pixels or %. Recommend use of Table style instead.
width
Border width
Enter width for the table border in pixels. Set class to blank. Recommend use of Table style instead.
border
Advanced settings
Enable download and export as attachment
Off
Enable this option to allow download or export of the current view of the table as a CSV file. Downloads to the local file system. Exports table as an attachment to the current page and is only available to users that have permission to add attachments to the page. When enabled, download and export icons () are displayed to the right of the table. Available since SQL 8.3.0.
allowExport
File delimiter to use when download and export is enabled. Default value is comma.
, (Comma)
Select a character from the drop-down to be used as a delimiter for the data to be downloaded or exported. The options provided are:
Comma: Default value used as the delimiter.
Tab
Semicolon
Space
Other: Select this option to specify a character that is not in the drop-down, to be used as a delimiter. Enter a single character to be used as a delimiter in the adjoining text box. The downloaded or exported file contents are separated with this character.
Valid only if Enable download and export as attachment is enabled. Available since 10.2.0.
Display data filter
Off
Enable this option to display a drop-down list with unique column values under each column heading. By default, the None option is selected.
Select filter values in multiple columns to see a more specific row. Select None to display all rows for that column. As filters are applied on other columns, the display of information differs. Select None for all columns to show all rows for all columns. Available since 10.3.0.
Note
Filters are applicable only fortext based searches, and are not applicable on data in nested macros or nested tables currently.
This version of applying filters replaces the previous feature available since version 10.2.0. In the earlier version, a filter panel was displayed above the table and the search text box accepted regular expressions. From version 10.3.0, only column filters are available for tables.
displayDataFilter
Column settings
Formatting
Column styles
Click Start Formatting to format your table columns.
Each of the column styles is made up of one or more semi-colon separated CSS properties. The styles are applied to the respective columns as provided in the editor window. A style can be reused for subsequent columns by using a numeric reference of the column. For example, to reuse 3rd column style in 6th, use 3 as style value in column 6. Column styles are applied to the table column and participate with other CSS properties to determine the look of an element. In particular, some properties can be overridden by table, row, element styles, or classes.
Example:background:lightyellow.
Note
When the Insert auto number column parameter is On, if you want to repeat a column style, use numeric reference of this column +1 in the intended column.
For example, to reuse 3rd column style in 6th when Insert auto number column is On, use 4 as style value in column 6.
columnStyles
Column type
Include Page
_ColumnTypes80
_ColumnTypes80
columnTypes
Total type
Include Page
_ColumnCalculations
_ColumnCalculations
columnCalculations
Column attributes
Click and select Show column attributes to view the respective columns attributes field in the editor.
Specify a comma separated list of values to modify cell attributes for the respective column. Each value is a double semi-colon list of attributeName=value pairs that are applied to the column cells.
columnAttributes
Numbering & Totaling
Numbering
Insert auto number column
Off
Toggle this option On to show an additional column that shows row number for each data row.
autoNumber
Auto number column styles
Enter styles to be applied on the auto number column using Cascading Style Sheets (CSS)when auto number is enabled. Example:background:lightyellow
Enable sorting on auto number column
Off
Toggle this optionOn to enable the auto number column to be sortable. This retains the original data row count even after row sorting.
autoNumberSort
Apply column attributes to header rows
On
Toggle this optionOff to have the column attributes apply only to data rows. Any column attributes provided is applied to the all column rows including heading rows.
enableHeadingAttributes
Apply Column styles to column cells
Off
Toggle this option On to override default Confluence styles and make the styles specified in the Column styles field (Formatting tab) persist for the respective columns. Available since 10.2.0.
Totaling
Auto total numeric columns
Off
Toggle this optionOn to append a row to the end of the table that contains the totals of all numeric columns.
autoTotal
Sorting
Enable column sorting
On
Toggle this optionOff to disable sorting.
enableSorting
Automatically sort by this column
Enter the column name or column number that the table must be auto sorted on before it is displayed. No auto sorting is performed if this value is not provided or is invalid. A column number is a +1 based count of columns (excluding auto number column).
sortColumn
Automatically sort in descending order
Off
Toggle this option On to sort the column(s), specified in Automatically sort by this column, in descending order automatically before the table is displayed.
sortDescending
Off
Toggle this optionOn to include a sort icon in the first heading row for sortable columns. An icon is shown for the last column sorted indicating the direction the column was sorted.
sortIcon
Sort tip text
Enter the text to be displayed when mouse is over a sortable column. For example, this value can be Click to sort or an equivalent translation.
sortTip
Row formatting
Data rows
Row styles
Click Start Styling to format your table rows.
Each row style is made up of one or more properties that is applied to the respective row. Row styles are applied to the specified table row and participate with other CSS properties to determine the look of an element. In particular, some properties can be overridden by table, element styles, or classes.
These styles are applied to the data rows starting from the first row below the header and not to the header itself.
A row style can be reused for subsequent rows by using a numeric reference of this row '+ 1'. For example, to reuse 3rd row style in 6th, use 4 as style value in row 6.
row index
Header & Footer rows
Number of header rows
1
Enter the number of rows to be considered as heading rows. Heading rows do not participate in column sorting.
heading
Header row styles
Enter a comma separated list of styles, similar to Row styles (Data rows tab), to be applied on the header row.
rowStyles
Advanced settings
Retain row style order after re-sorting
On
Toggle this option Off to retain the original style given to a row regardless where the row lands after sorting. By default, the row styles correspond to the order the rows are displayed on the screen. When disabled, the original style given to a row is retained not matter where the row lands after sorting.
retainRowStyleOrder
Apply Row styles to row cells
Off
Toggle this option On to override default Confluence styles and make the styles specified in the Row styles field (Data rows tab) persist for the respective rows. Available since 10.2.0.
Enable row highlighting on mouse over
On
Toggle this option Off to stop highlighting the table row as the mouse moves over it.
enableHighlighting
Highlight color
lightgoldenrodyellow
Enter a color of row when mouse is over a row element. See Web Colors for instructions on how to specify this.