Data Table

Data Tables should only be used to present data, and should not be used as a formatting tool. If you are unsure about the appropriate situations to use a table, feel free to reach out to the Web Services team at webservices@georgetown.edu and we can advise you.

To add the Data Table block, click the “+” symbol and search for “Data Table”. Then, select the Data Table block icon.

The data table block icon outlined in red under the search block bar.

Editing a Data Table

Upon adding the block, you will be asked to specify the number of columns and rows the table will have. You can do this by moving the slider or by typing the number in the text field. You can add between 2-10 columns and 2-100 rows per table. Once the desired number of columns and rows have been selected, click the “Create” button.

Create button for data tables is outlined in red.

Once you have the blank table you can begin to add content by clicking on the desired cell and typing.

View of the Data Table block in he WordPress editor.

You can add a table caption that will display below the data table and describe its contents in the “Table caption” field. This is especially important if you have more than one table on a page. The table caption can be especially helpful for users who utilize screen readers to navigate your website.

To add or delete rows or columns from the table, click the table operations icon in the upper left corner.

View of the Data Table block in the WordPress editor with the block operations icon open and highlighted in a red box.

Additional Block Settings

In the block tab of the inspector panel, you can find options to change the block style, create a header column, and create a filterable table.

There are two style options for a data table block: Default, which features an all-white background, and Alternating Row Background, which features alternating white and gray backgrounds.

View of the Data Table style options.

Options for a header column and filterable table can be found under the Table Options section.

The block settings tab for the Data Table block. The Table Options section which includes toggles for the header column and filter option are is highlighted in a red box.

In the block toolbar, there are options to center align, bold, italicize, or link the text in cells.

View of the Data Table block in the WordPress editor with the center, bold, italicize, and link options highlighted in a red box.

Data Table Examples

Table 1. Table caption goes here.
Cost CategoryFall 2019Spring 2020Fall 2020Spring 2021
Tuition (per credit)$XXX$XXX$XXX$XXX
Activity Fee$XX$XX$XX$XX
Meal Plan$XXX$XXX$XXX$XXX
Board$XXXX$XXXX$XXXX$XXXX
Table 1. Table caption goes here.
Cost CategoryFall 2019Spring 2020Fall 2020Spring 2021
Tuition (per credit)$XXX$XXX$XXX$XXX
Activity Fee$XX$XX$XX$XX
Meal Plan$XXX$XXX$XXX$XXX
Board$XXXX$XXXX$XXXX$XXXX