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

...

This page outlines an example of how to style table columns using the CSV Table macro, Table Plus macro, Attachment Table macro, or JSON Table Macro, which are part of the Advanced Tables for Confluence add-on.

...

Since release 6.4, there is now another option for column styling with the columnStyles parameter. It defines column level CSS at the HTML column level where as the columnAttributes parameter works at the element level and provides more than CSS styling capabilities. columnStyles can be easier to use and is recommended for most use cases. However, it does not cover every use case that is available with the columnAttributes parameter. 

Macro Browser Input

Select this Macro

Macro Name

Any of the following:

  • CSV (Comma Separated Values)
  • Advanced Tables - CSV 
  • Advanced Tables - Table Plus
  • Advanced Tables - Attachment Table
Macro Syntax

Any of the following:

  • {csv}
  • {table-plus}
  • {attachment-table}

Define these Parameters/Values 

Each column can be styled by setting the style attribute. For example setting the columnAttributes parameter to:

Column settings > Formatting >   Column attributes (1

2

3)

style="border:0;background:lightgrey;"
style="border:0;background:lightyellow;"
style="border:0;background:lightgreen;"


Screenshot

Wiki Markup Input

For a table built using the CSV macro:

...