12 Days of Confluence Elements: Day 7 - Tables
Tables allow you to present important information and discuss it with your team. Use familiar table formatting options –resizing columns, coloring cells, rows and columns, aligning content, and sorting the table by clicking the column headers – to view the information the way you like it.
To add a table, select Table in the toolbar. A three-column, three-row table (including a header row) will appear on the page.
When you have large tables with many rows, the header row becomes “sticky” and doesn't scroll out of view when editing or viewing the page. This doesn't work, however, if you've merged several rows to create a bigger header row.
The width of each column is set to a percentage of the table width, so your columns will grow or shrink as your table size changes. If your table is full-width or has many columns, it can become scrollable horizontally.
When viewing a table on a page, you can sort the content by selecting the sort icons in the header row. Your sorting choices don’t impact what other people see and are not saved.
You can't have a table within a list, block quotes, or another table.
Resize a table
To resize a table:
Locate the resize handle on the right side of the table.
Drag the resize handle to the desired width.
The columns in the table will proportionally grow or shrink to fit the new width of the table.
Edit a table
Table editing tools are contextual and vary based on where you place your focus.
Select an entire table by placing focus in the top left. This can be useful if you want to copy and paste the whole table somewhere else.
Table options
When you're editing a page and have selected some portion of the table, table options will appear. Use table options to:
Make a row a header row with a grey shaded background and bold text
Make a column a header column with a grey shaded background and bold text
Insert a numbered column to automatically number each row
In a cell (or when selecting multiple cells, rows, or columns), select the down arrow to access the following actions:
Change cell color
Insert column to the right
Insert row below
Remove column
Remove row
Merge cells
Split cell
Distribute columns
Clear cells
When multiple cells are selected, you can change the background color of all the selected cells or merge the selected cells. If a cell was previously merged, you have the option to split the cell.
You can see an example of a table in our Personnel list.