Data tables

A data table is OpenThink's equivalent of a Notion database: rows of records with typed columns. A table is an item in the tree like a page — it lives in a folder, can be renamed, moved, shared and trashed.

Column types

| Type | Holds |

|---|---|

| Name | The row's title. Every table has exactly one, and it's always first |

| Text | Free text |

| Number | A number, shown as plain, percent, VND, USD, EUR or stars |

| Select | One option from a list |

| Multi-select | Several options from a list |

| Date | A date |

| Checkbox | Yes / no |

| URL | A link |

Number formats belong to the column. Thousands and decimal separators follow each viewer's own number-format setting, so 1.234,5 and 1,234.5 are the same number.

Entering values

- Dates can be typed as `dd/mm/yyyy` or `yyyy-mm-dd`.

- Typing a new option into a Select or Multi-select column adds it to the list.

- Each row also has a free-form **body** for longer notes.

Creating a table

- Start empty: a new table comes with Name, Status and Date columns.

- Or paste CSV: the first line is the column names (comma- or tab-separated), the first column becomes Name, and the other column types are detected automatically.

Changing columns

You can add, rename, retype and delete columns.

- Changing a column's type converts existing values (text ↔ option ↔ number ↔ date); values that can't be read in the new type become empty.

- Deleting a column also removes any filters, sorts and groups that use it in every view.

- The Name column can be renamed but not deleted or retyped.

Views

A table can have several views, each with its own filters. Embedded tables and charts can follow the filters of a chosen view.

Using tables elsewhere

- **On a page** — embed the table or a bar, line or pie chart of it. See [Embeds](https://openthink.app/n/6eb43cedc7d8).

- **With SQL** — query, join and total tables in a live block. See [SQL queries & charts](https://openthink.app/n/08d0ba345c4a).

- **In custom apps** — HTML pages can read and write rows. See [HTML page API](https://openthink.app/n/880ac6e69d53).

Permissions

Tables can be shared like pages, and also support **row-level permissions** (for example, each student sees only their own submissions) and **sealed tables** that only invited people can read. See [Sharing & permissions](https://openthink.app/n/26c72c31ab9c).