Table of Contents
How to show and hide columns in wpDataTables
Say your employee table comes from a database with an ID, an internal note and a salary column that visitors shouldn’t see. You can hide such columns from the front end without changing the source. The column stays in the table settings, so you can still use it for filters, formulas and conditional formatting.
How do I hide a column with Tabella AI?
Open the table, click Ask Tabella AI and name the column to hide.
- Open the table. Go to wpDataTables → wpDataTables and click the table title.
- Ask Tabella AI. Click Ask Tabella AI and type, for example: Hide the Salary column on the front end.
- Check and save. Tabella AI lists what it changed, for example Column “Supplier”: hidden. Click Save Changes, or Undo table changes to go back.
How do I hide a column in the column settings?
Turn off Visible on front-end in the Display tab of the column settings, or click the eye icon in the Column List.
- Open the column settings. Open the table and click the settings icon in the column header.
- Hide the column. In the Display tab, turn off Show column in front-end under Visible on front-end.
- Save the table. Click Save Changes.
To hide or show several columns at once, click Column List above the table preview and click the eye icon next to each column, then save the table. A greyed-out eye means the column is hidden.
What should I know before hiding columns?
Hidden columns aren’t shown, but their data still reaches the page:
To hide columns only on phones and tablets, use the responsive settings in How to make tables responsive.
What should I remember about hiding columns?
Hide a column with Tabella AI, with Visible on front-end in the column’s Display tab, or with the eye icon in the Column List. Hidden columns can still filter the table, but their data reaches the browser, so remove private data from the source instead of hiding it.