Appearance
Return




Adding, editing, and deleting records in tables
Create records, update them, and delete them safely using your tables.
Steps at a glance
- Create a table from the
Tablessubtab inData & API. - Create records from the table UI (for quick testing).
- Use your interface workflows to create, update, and delete records for real users.
1) Create a record (for testing)
- Open the
Data & APItab, then open theTablessubtab. - Select a table.
- Click
Insert, thenInsert a row. Fill in the fields, then clickInsert.

2) Update a record
- In the table, double-click a cell you want to change.
- Update the value.
- Press Enter to save.

3) Delete a record
- Tick the checkbox of the record you want to delete.
- Click the delete button that replaces
Insert(for exampleDelete 1 row). - Click
Deleteto confirm.


4) Do it from the interface (recommended)
When users edit data in your app, do it through workflows so you can validate inputs and keep the UI in sync:
- Bind a form to your record.
- On submit, call your table's
Update RowAPI Endpoint. WeWeb creates it with the table whenCreate API endpoints to access or update table datais turned on. - Refresh the list (for example with
Table View: Fetch) or update the UI state.

Common pitfalls
Records do not update in the UI
- After updating, refresh the list (or update the local variable/table view the UI is bound to).
Users can delete too much
- Add a confirmation step before delete.
- Protect sensitive actions with middleware when data must be protected.

