Confluence Docs 3.0 : Working with Tables This page last changed on Oct 17, 2007 by smaddox. You can use Confluence wiki markup or the Rich Text editor to create tables. Below are some guidelines on using wiki markup to create tables. Confluence allows you to create two types of tables. ### Table Type 1 Allows you to create a simple table with an optional header row. You cannot set the width of the columns in this table. Use double bars for a table heading row. What you need to type:
    ||heading 1||heading 2||heading 3||
    |cell A1|cell A2|cell A3|
    |cell B1|cell B2|cell B3|
What you will get:
heading 1 | heading 2 | heading 3
--- | --- | ---
cell A1 | cell A2 | cell A3
cell B1 | cell B2 | cell B3
Currently, Confluence does not support nested tables. You can also use a vertical header. What you need to type:
    ||heading 1|col A1|col A2|col A3|
    ||heading 2|col B1|col B2|col B3|
What you will get:
heading 1 | col A1 | col A2 | col A3
heading 2 | col B1 | col B2 | col B3
### Table Type 2 This method allows you to specify the width of the columns in the table. What you need to type
    {section:border=true}

    {column:width=30%}
    Text for this column goes here. This is  the smaller column with a width of only 30%.
    {column}

    {column:width=70%}
    Text for this column goes here. This is  the larger column with a width of 70%.
    {column}

    {section}
What you will get
Text for this column goes here. This is the smaller column with a width of only 30%. | Text for this column goes here. This is the larger column with a width of 70%.
For more details please see the Column Macro and the Section Macro. ### Advanced Formatting #### Colour and Other Formatting To add colour and other formatting to your tables, you can use the Panel Macro within columns. More table-formatting options may be available if your Confluence administrator has installed additional macros. #### Lists Here's an example of how to embed lists in a table: What you need to type
    ||Heading 1||Heading 2||
    |* Item 1
    * Item 2
    * Item 3|# Item 1
    # Item 2
    # Item 3|
What you will get
Heading 1 | Heading 2
--- | ---
Item 1 Item 2 Item 3 | Item 1 Item 2 Item 3
##### RELATED TOPICS Rich Text-Working with Tables Working with Macros Take me back to Confluence User Guide

Document generated by Confluence on Nov 05, 2009 23:36