Skip to main content Skip to navigation

Tables

Tables can be a useful way to display information for visitors to your page.

In this article:

Insert a table

  1. Browse to the page where you want to add a table.

  2. Go to Edit > Edit centre content:

    The SiteBuilder 'Edit' menu, with the 'Edit centre content' option highlighted

  3. Place your cursor where you want to add the table.

  4. Select the New table button in the editor toolbar:

    The Components Editor toolbar, with the 'New table' button highlighted

  5. In the New table pop-up, select a cell to specify the number of rows and columns for your table:

    The 'New table' pop-up, with 3 columns and 4 rows selected

  6. An empty table of your selected size appears on the page:

    An empty 3x4 table
  7. See below for details of how to add rows and columns, remove rows and columns, merge and split cells, edit a table's properties or make a table sortable.

  8. When you're finished editing your content, select Publish.

Add rows and columns

  1. Select a table cell next to where you want to insert a new row or column. The table toolbar appears:

    The table toolbar

  2. In the table toolbar, select the appropriate button:

    • Add row before: Add a new row above the current one.

    • Insert row after: Add a new row below the current one.

    • Insert column before: Add a new column to the left of the current one.

    • Insert column after: Add a new column to the right of the current one.

Remove rows and columns

  1. Select a cell in the row or column you want to delete. The table toolbar appears:

    The table toolbar

  2. Select the appropriate button in the table toolbar:

    • Delete row: Delete the current row.

    • Delete column: Delete the current column.

Merge cells

To combine multiple cells into a single cell spanning more than one column or row:

  1. In the Components Editor, select and drag to highlight the cells you want to merge:

    A table in the editor, with cells selected to merge

  2. Select the Merge cells button.

  3. The selected cells are merged into a single cell spanning the combined space:

    A table with a merged cell occupying the first three rows of the first column

    Note: Any content in the selected cells will be combined in the merged cell.

Split merged cells

To separate a merged cell into its original individual cells:

  1. In the Components Editor, select the merged cell:

    A table with a merged cell occupying the first three rows of the first column

  2. Select the split cell button.

  3. The merged cell is split back into the original number of separate cells:

    An empty 3x4 table

    Note: Any content that was contained in the merged cell is placed in the uppermost, leftmost cell after being split.

Edit a table's properties

  1. Select a cell in the table to display the table toolbar:

    The table toolbar

  2. Select the Edit table properties button to open the Table properties pop-up:

    The Table properties pop-up

  3. Select the checkboxes to define the appearance of your table:

    • Striped: Alternating rows have a light grey background.

    • Bordered: Each cell has a 1-pixel border.

    • Condensed: The space between rows is reduced.

    • Hoverable: Each row is highlighted as a visitor hovers over it.

  4. To show a piece of text summarising your table directly above the first row, enter the text in the Caption box.

    Tip: most screen readers announce the content of table captions, which can help someone determine what the table is about and whether they want to read it.

  5. If the first row of your table contains column headings, select the Format top row as header checkbox.

  6. Select Update table.

Make a table sortable

When the first row of your table contains column headings, you can choose to make the table sortable:

  1. Select a cell in the table to display the table toolbar:

    The table toolbar

  2. Select the Make table sortable button to open the Make table sortable pop-up:

    The 'Make table sortable' pop-up

  3. Select the checkbox for each column you want to allow visitors to sort the table by. Alternatively, you can Select all columns, or Select none.

    Note: If the table has not been set to Format top row as header, enabling sorting will automatically assign the top row as a header row.

  4. Select Update table. Your table is now sortable by the selected columns. For example, the table below is sortable by all columns:
First name Surname University ID
Rebecca Jorden 4400086
Dennis Parker 4400066
Joan Lambert 4400081
Samuel Brett 4400072
Thomas Kane 4400082

Related articles