Editing grid

Quick to edit. Impossible to miss what changed.

Opening a dataset gives people a grid of its rows. They edit in place, and until they save, every change is right there in front of them.

The grid with pending changes: changed cells in wheat, one of them showing its previous value, a new row in green and a row marked for deletion.
Why it matters

Edits you can see are edits you can trust

The risk in letting people edit a table is not the editing. It is not knowing what changed.

In Data Editor nothing is written while someone types. A changed cell turns wheat and keeps its previous value in a tooltip, an inserted row turns green, a row marked for deletion turns red. Any change can be undone on its own, and Show only changed records narrows the grid to exactly what would be saved.

When they are done, Save changes asks for a confirmation and sends only the changed rows. If the database rejects one, that row says why in an Error column, keeps its pending change and waits to be fixed, while the rows that went through are saved.

Walkthrough

The grid, step by step

Screens from the product, on an invented sales target table.

Step 1

Open a dataset, get a grid

Each column appears under the name its owner chose, with an editor for its type. Key columns are marked, and read-only columns such as audit columns are greyed out with a lock.

  • Text, multi-line text, number, date, date and time, check box and lookup editors
  • One click on a cell starts editing it
  • Columns sort and resize like in a spreadsheet
The Product price list dataset open in Data Editor: SKU marked as a key, category and currency lookups shown by name, prices, dates, check boxes and greyed, locked audit columns.
Step 2

Every change shows until it is saved

Changed cells turn wheat and show their previous value when you point at them. New rows are green and rows marked for deletion red. Right-click a row to insert or delete, or to undo a single change.

  • Previously: in a tooltip on every changed cell
  • Insert Row, Delete Row, Undo Delete Row, Undo Change
  • Show only changed records, to review before saving
Pending changes in the grid: a changed target with the tooltip Previously: 1250, a new row in green and a row in red marked for deletion.
Step 3

Filter precisely

Every column has a filter that fits its type: a checklist of values for text and lookups, an expression for numbers, a three-state box for check boxes. Filters combine, and a checklist greys out values the other filters already exclude.

  • Number expressions with >, >=, <, <=, = and !=, combined with and and or
  • Checklist search that ignores case and accents
  • An invalid expression turns red instead of hiding rows
The price list filtered two ways: the expression >= 100 and < 400 on List price, and a Category checklist with Footwear and Jackets ticked and a category the price filter excludes greyed out.
Step 4

Light or dark, as each person prefers

Everyone chooses light or dark mode for themselves from their account menu, and the grid keeps its change colours in both.

  • A personal setting, remembered in the browser
  • The same change colours in both themes
  • Ctrl+K opens the command palette in either
The Sales targets 2027 grid in dark mode, with a changed target still highlighted.
Highlights

Small things that keep a table clean

Details that matter once a grid is in daily use.

Undo one cell

Undo Change puts a single cell back to the value it had before and clears its highlight, leaving the row's other changes as they are.

Identity left to the database

On a new row an identity column shows (auto): the database assigns the value when the row is saved.

Read-only means read-only

Identity, audit and read-only columns cannot be edited in the grid, and the server writes identity and audit values itself.

Big saves in batches

Large saves go in batches, 2,000 rows at a time to SQL Server, with their progress shown as they run.

Related

Keep exploring

The features the grid works with.

Edit a cell right now

The playground runs a working copy of the grid in your browser, with five short missions.