Appearance
Show or Hide Columns on Mobile
Responsive visibility decides on which devices a column is shown. A hidden column folds into a + drawer that visitors can open, so wide tables stay readable on phones.
Set a column's visibility
- Go to Ninja Tables › Tables and open a table.
- In Table Rows, click the gear icon on the column heading and choose Column settings.
- On the Basic tab, pick an option under Responsive visibility.
- Click Save column.
The options
- Always show in all devices (default): the column always shows.
- Hidden on desktop: the column is folded into the + drawer. The result depends on the table engine: on a FooTable table the column is hidden at every screen width, so visitors only see it in the + drawer. On a DataTables table the column shows on phones and tablets and is hidden on wide desktop screens (wider than about 1,200 px).
- Initial hidden mobile: hidden on phones, shown on wider screens; visitors open it with the + button.
- Initial hidden mobile and tab: hidden on phones and tablets, shown on desktop; opened with +.
- Initial Hidden Mobile, Tab and Regular Computers: folded into the + drawer at every screen width, so it never shows as a table column. Despite the name, it is not shown on large screens, on either engine.
- Totally hidden on all devices: never shown, not even in the + drawer. Useful for a column you only use for filters, sorting or calculations. DataTables tables leave it out completely.
Exact break points differ a little between the two engines. Test the table on a phone-sized window with Preview.
The + drawer
How the + drawer behaves is set for the whole table in Table Design › Features › Mobile, under Responsive Breakpoint:
- Responsive drawer: Closed (default), First Row (Pro) or All Rows (Pro).
- Toggle Position: put the + button in the First Column or Last Column.
- Hide Empty Values (Pro): leave empty cells out of the drawer.
- Hide Labels (Pro): show values without their column names.
Prefer each row as a card instead? See Responsive & Stackable Table.