LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 16, 2026, 7:24 PM
updatedAtNov 17, 2026, 7:53 AM
githubUrlhttps://github.com/neomjs/neo/issues/21164
authorneo-fable-clio
commentsCount1
parentIssue21175
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 17, 2026, 7:53 AM
milestonev14.0

The grid cell editing example edits a sheet worth editing

Closed v14.0.0/archive-v14-0-0-chunk-3 enhancementhelp wantedgood first issueaigrid
neo-fable-clio
neo-fable-clio commented on Nov 16, 2026, 7:24 PM

Please comment to claim before starting; check current assignees and linked PRs.

Context

Row 2 of the Grid & Table slate (#21142), a leaf of #21140, and one of six examples to renew before the read of Fri 20 Nov.

The Problem

examples/grid/cellEditing proves that four editors work: text, a stepped number, a date with a range and a combobox fed by a store (MainContainer.mjs:131 to :160). What a visitor sees is six rows of first names under the headers "Number (step 5)", "Random Date" and "Github Id (Non-editable)". The same six names fill five other entries of the family. Nothing shows what happens when a value is refused, although the number and date editors carry limits (:136, :137, :148, :149).

The Architectural Reality

  • examples/grid/cellEditing/: MainContainer.mjs (columns and editors), MainStore.mjs, MainModel.mjs, MainContainerStateProvider.mjs (the countries store).
  • The example is hosted on examples/ConfigurationViewport.mjs, which #21143 turns into the workbench. The host stays.
  • The plugin is src/grid/plugin/CellEditing.mjs. src/grid/column/Currency.mjs (type: 'currency') is a built-in column that no example or app uses yet. A model field can be calculated from others (the Records guide, learn/guides/datahandling/Records.md).
  • The countries load from resources/examples/data/countries.json by a relative URL (MainContainerStateProvider.mjs:27) that resolves only when the server root is the repository root. Run and capture from there.
  • Two spec files load the folder: test/playwright/e2e/grid/CellEditingExample.spec.mjs and test/playwright/component/grid/ColumnRendererScope.spec.mjs.
  • Design authority: "Every renew and every new row is then filed as its own leaf under #21140" (#21142), row 2 of its Grid & Table table; the bar is the one #21140 names: "an example resets, works at phone width, in both themes, by keyboard".

The Fix

  1. A sheet with a reason to be edited, 30 to 50 rows, for example an order or a price list: an item (text), a quantity (number with step and limits), a unit price (the currency column), a delivery date (date with a range), a country or status (combobox), and one read-only column calculated from the others, such as a line total.
  2. Headers name the business field. The editor behind a header shows when a cell is edited.
  3. A refused value is visible. A quantity above its limit shows the field's own error state. No new engine code.
  4. The panel's switches stay (selection model, drag resort, disable editing).
  5. The record's feature and lookFor say how to start an edit and what to try.

Acceptance Criteria

  • At least 30 rows; every header is a business field; one editor each of text, number, date and combobox; one read-only calculated column that updates after an edit.
  • An out-of-range entry is refused, and the cell shows it.
  • A cell can be edited and left by keyboard; the PR says with which keys.
  • The two spec files pass, adapted where they pin old cell values (npm run test-e2e -- test/playwright/e2e/grid/CellEditingExample.spec.mjs, npm run test-components -- test/playwright/component/grid/ColumnRendererScope.spec.mjs).
  • 1440 × 900 and 390 × 844; both themes.
  • Look: the first frame and one frame with an open editor, at both sizes, are on the PR beside today's frame, and the design seat reads them before code review.
  • The catalog cover is re-shot from the new default state with the producer of #20679, or the PR names the change that brings it.

Out of Scope

Changes to the CellEditing plugin; examples/table/cellEditing, which leaves the catalog; the workbench (#21143).

Avoided Traps

  • Random or filler values. They are why the example reads as a toy today.
  • A second example for validation. One sheet shows editors and a refusal.
  • Replacing the configuration viewport. The workbench leaf owns it.

Related

Parent #21140 · the slate #21142 · #21143 · #18837 (the example's e2e witness, closed) · #20500 (the family's captions, closed).

unowned-rationale: Ready for a contributor; maintainers provide planning and review.

Live latest-open + closed sweep: latest 20 open, 59 open (red band, so this is a leaf of the owning epic #21140), open and closed search ("cellEditing example"; Out of Scope and Avoided Traps of #20500 read) at 2026-11-16T18:22Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 18:17Z: no claim. MC sweep ("grid cell editing example toy data six rows editors"): no prior decision. Own-assignment sweep: 7 open; #21142 and #21140 are the parents. Structure-map: N/A.

Decision Record impact: none.

Origin Session ID: d14fe642-3e89-46cf-99c6-be16ff7c7354

Retrieval Hint: "grid cell editing example order sheet editors currency column refused value"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code