Edit cells
Each cell in the Data Studio table gets an editing widget that matches its column type. This page covers those widgets, the reference picker, adding rows, and writing your edits to the source.
The table shows a sheet, which is one table of your data. The Data Studio also calls it a tab.
Every edit on this page is staged. A staged edit is an edit that the Data Studio holds and has not yet written to the source. A reflect writes the staged edits to the source. Reflect your edits to the source says how to start one.
The widget follows the type
A cell is a label until you edit it. Click it, press Enter or start typing, and the editor for its type opens in place. As in the web app, Tab does not step from cell to cell.
The widget follows the @type. The @type it reads is the one on screen. A column you added or retyped but have not reflected yet already gets that type's widget.
| Column type | Widget |
|---|---|
Required bool | A toggle |
Optional bool | The same picker the enum cell uses, since it has three states |
Enum<T> | The value plus a ▾ that opens a searchable picker |
RecordId@Tab | A reference dropdown |
AssetRef@Group | An asset picker that also takes drops |
Color, AnimationCurve, Gradient | A picture of the value that opens the color, curve or gradient editor |
| Everything else | Canonical raw text |
Everything else means numbers, strings, keys, List<> of non-references, wrappers and custom types. These cells stay raw text because that text is what the parser round-trips.
A ResourceRef or DirectRef column gets the same picker, drop and ping as an AssetRef@Group column.
Asset cells and the color, curve and gradient editors are covered in Asset and visual cells.
Enum cells
An Enum<T> cell reads as its value plus a ▾. The ▾ opens the same searchable picker a reference cell uses.
- An unrecognized value stays at the top of the list rather than being silently rewritten.
- Where the enum is defined in a sheet, the picker ends with Add a new member…. See Add a member from a cell.
- An empty optional cell shows
—, or—followed by the default in parentheses.
Pick a reference
A RecordId@Tab cell is a text box plus a ▾ button. Typing a key by hand also works.
The button is always there, even when the target sheet currently offers no candidates. That state usually means something is broken right now, which is when you need the tool. The picker says so and offers to create a record instead of opening an empty list.
Scalar reference cells
Picking a record replaces the cell's value and closes the picker. The key already in the cell is marked, so you cannot pick it twice.
List reference cells
A List<RecordId@Tab> cell gets +▾. The picker stays open and each row is a checkbox, so ticking three records takes one visit.
- Ticking a row appends that record.
- Unticking a row removes that element.
- Each tick is its own undo step.
The dropdown does not set element order. To reorder elements, use the canvas, where each list element has its own ▲▼ row.
Set an optional cell back to empty
Where the column declares ? or =default, the pickers carry a — Leave this cell empty row. The row is labelled with the value the cell falls back to. The reference, enum and optional-boolean pickers all carry it.
A required column gets no such row, because an empty cell is an error there.
Create a missing record from the cell
If the key you want does not exist, create the record from the picker.
- Press + Create a new … record. The search box turns into a key box, pre-filled with the sheet's common prefix.
- Type a name.
- Press
Enter.
The row is created and its key is written into this cell as one Ctrl+Z step.
When the create line is not offered
The line is not offered when it could not work.
A code-owned key space cannot be added to, and the picker says so in a sentence.
A read-only source, a running pipeline or an xlsx-backed tab blocks it with the same gate the canvas uses. When canvas editing is disabled lists what that gate checks.
What you type is what you see
Grid text is the baseline with your staged edits applied, so it never waits on validation. The baseline is the snapshot of a tab that an import stores.
A committed value shows its staged color the moment it commits, even while the cell still has focus. A value picked from a dropdown, a visual-value edit and fast typing all behave this way.
The heavier part of the preview recomputes once per editing burst instead of once per keystroke. That preview is the Problems panel, the counters, the chips and the canvas. The exception is a one-shot gesture on the canvas, which redraws on the spot.
Where diagnostics come from
Diagnostics come from one channel only: the pre-flight/import validator. The pre-flight is the validation that runs before a reflect writes anything, and the import runs the same validator.
The validator runs as you type. A value you stage is judged by that validator a moment later. The result shows both in Problems and on the cell itself, with the diagnostic's sentence as the cell's tooltip. The panel and the grid never say different things.
Add a row
Press + Row below the last row of the table. See Sheet header bar for the tools around the table.
A new row appears at the bottom of the table. It is a record with a suggested id. The suggestion uses common-prefix detection and is collision-safe.
The button is enabled when the sheet can be edited and has a key column.
Undo and close
Every staged change is a Ctrl+Z or Ctrl+Y step. That includes cell edits, key edits, row adds and discard-all. Undo and redo lists every kind of change.
Closing the window with staged changes prompts save/discard/cancel through Unity's own dialog.
Reflect your edits to the source
A reflect writes your staged edits to the source. To start one, press ↑ Send in the Data Studio toolbar.
Nothing is written yet. The Push to source modal opens inside the Studio and lists every staged change. Push modal describes the dialog.
To write the changes, press the button that names the number of changes. Cancel writes nothing.
The reflect then runs the shared dispatcher: pre-flight → per-source write-back → automatic re-import.
| Reflect | What it asks first |
|---|---|
| It renames keys | The Rename key · update references together dialog says how many reference cells will be updated, and asks whether to continue |
| The source is a Google sheet | The Confirm Google Sheet Push dialog shows the plan. Nothing is sent until you press Send |
Push to Google Sheet, in the toolbar's Google Sheets dialog, is a different action. It sends baked values to a live Google sheet. See Push to Google Sheets.
When editing is blocked
| Situation | Effect |
|---|---|
| The source is read-only (Google ExportUrl) | Editing and the reflect are disabled, with the reason on mouse-over |
| The tab comes from an xlsx file | The tab is read-only, with a badge. Write-back skips xlsx |
| An import, an Export, a Push or a reflect is running | ↓ Import and ↑ Send are disabled |
Next steps
- Asset and visual cells
Pick, drop and preview assets, and edit colors, curves and gradients.
- Edit on the canvas
Reorder list elements and edit records as nodes.
- Undo and staged edits
How staging, undo and pre-flight validation work.
- Push to Google Sheets
A different action from the reflect. Push sends baked values to a live Google sheet.