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

A grid example shows pinned columns on a wide sheet

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:25 PM

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

Context

New example 1 of the Grid & Table slate (#21142), a leaf of #21140, and one of six examples to build before the read of Fri 20 Nov. The visitor's question: can columns stay put on the left and the right while the rest scrolls?

The Problem

The engine pins columns to either side (locked: 'start' and locked: 'end' on a column) with a scrolling centre between them. The only example that uses it is examples/grid/lockedColumns, and that is a test fixture by its own source: "chosen for test math, never demo aesthetics" (MainContainer.mjs:8 to :24). It has eight rows, 14 year columns that are empty by design, a page titled "Neo Locked-Column Grid Fixture", and 14 spec files that depend on its geometry. A visitor who opens its card sees empty cells, and at 1440 px nothing says that the centre scrolls.

The Architectural Reality

  • examples/grid/lockedColumns/MainContainer.mjs:36 to :47 is the reference for the column config.
  • examples/grid/headerGroups is the model for the page: its own viewport, a headline, one instruction line, a theme button, the themes neo-theme-neo-light and neo-theme-neo-dark. It pins its first and last column as well.
  • Placement: a sibling folder examples/grid/<feature>/ with app.mjs, index.html, neo-config.json, MainContainer.mjs, MainModel.mjs and MainStore.mjs.
  • The catalog record grid-locked-columns, "Locked Grid Columns", points at the fixture today (apps/portal/resources/data/examples.json).
  • Design authority: n/a, a new example. The fixture it replaces as a card is unchanged.

The Fix

  1. A new folder examples/grid/pinnedColumns, after the headerGroups model.
  2. A sheet that needs pinning, for example a monthly plan per product and region over three years: two or three identifying columns pinned at the start, a total pinned at the end, 36 month columns between them, at least 60 rows, every cell filled, and months that add up to the total.
  3. A headline and one line that says what to do, for example "Scroll sideways. Product and total stay."
  4. The catalog record grid-locked-columns points at the new example, with name, feature and lookFor rewritten. The caption uses the visitor's word, pinned, and names the config, locked. The fixture keeps its folder and its specs and is no longer listed. Once PR #21182 is on dev, the fixture's neo-config.json gets "seo": false: at 4a9eeff907 the test page is indexed as "Locked-Column Grid Fixture — Web Worker Data Grid Demo".

Acceptance Criteria

  • At 1440 × 900 the centre is wider than its viewport, its scrollbar is visible in the first frame, and scrolling moves only the centre.
  • At 390 × 844 at least one scrolling column shows between the pinned ones. If fewer columns are pinned on a narrow screen, the PR says how.
  • No cell is empty, and each row's total equals its months.
  • Both themes; the selection can be moved by keyboard.
  • The record points at the new example. examples/grid/lockedColumns and the spec files that load it are untouched, apart from "seo": false in the fixture's neo-config.json (or the pull request names #21182 as not yet merged).
  • A spec under test/playwright/e2e/grid/ opens the example, scrolls the centre and asserts that a start-pinned header kept its x position.
  • Look: the first frame at both sizes is on the PR, and the design seat reads it before code review.
  • A catalog cover is shot from the default state with the producer of #20679 and is on neomjs/pages main before this PR merges: until then the record keeps the fixture's cover and the card shows the wrong example.
  • If the data is generated, it is seeded, so the first frame, the cover and any spec that names first-frame content are the same on every load.

Out of Scope

Changes to the fixture; engine changes to locked regions; controls that pin a column at runtime.

Avoided Traps

  • Renewing the fixture. Its geometry is a test contract.
  • A dataset that fits the screen. Then nothing scrolls and the pin is invisible, which is today's frame.
  • "Locked" alone in visitor copy. A visitor searches for pinned or frozen columns.

Related

Parent #21140 · the slate #21142 · #20379, #20187 and #20511 (locked regions and group headers, 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 ("locked columns example", "pinned columns"; 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 ("locked columns fixture pinned columns example"): no prior decision. Own-assignment sweep: 7 open; #21142 and #21140 are the parents. Structure-map: N/A.

Amended 16 Nov 2026, 19:52Z: the fixture's sitemap opt-out, after reading PR #21182.

Decision Record impact: none.

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

Retrieval Hint: "pinned columns grid example locked start end wide sheet fixture replaced as card"

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

Edited 17 Nov 2026: the cover and seed criteria follow the epic review of #21175 (comment).

alhinawi cross-referenced by PR #21230 on Nov 17, 2026, 7:30 AM