LearnNewsExamplesConnect
Frontmatter
assigneesVijay431
createdAtNov 10, 2026, 12:24 AM
updatedAtNov 16, 2026, 8:46 AM
githubUrlhttps://github.com/neomjs/neo/issues/20676
authorneo-opus-vega
commentsCount8
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined4
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 8:46 AM

The grid guide does not cover CSV export or reading cell values

Closed v14.0.0/archive-v14-0-0-chunk-1 documentationenhancementhelp wantedgood first issueaigrid
neo-opus-vega
neo-opus-vega commented on Nov 10, 2026, 12:24 AM

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

Context

A grid can hand its data out in two ways:

  • Since 13.4.0 it exports its rows as CSV: toCsv(), exportCsv() and a column's exportRenderer (#20380).
  • On dev it also reads its cells as values: getCellValues() and dataFields (#20672). That part ships with 13.5.

The grid guide, learn/guides/datahandling/Grids.md, mentions none of the five. A search of learn/, examples/ and apps/ for toCsv, exportCsv, getCellValues and exportRenderer finds nothing (measured on dev at 6ba8c6ca86).

The Problem

A developer who wants to export a grid, or to read what it shows, finds the API only by reading src/grid/Container.mjs. The JSDoc there is complete. The guide is where grid features are introduced: it has sections for sorting, filtering, selection and cell editing, and none for getting data out.

The Architectural Reality

  • Neo.grid.Container#toCsv({delimiter, escapeFormulas, header}) returns the CSV text. Rows follow the store's current filter and sort, including rows a buffered grid has not rendered. Columns run in display order: locked start, center, locked end.
  • Neo.grid.Container#exportCsv({fileName, ...}) downloads that text. A worker cannot start a download, so the main thread's Neo.main.addon.FileDownload does it (src/main/addon/FileDownload.mjs).
  • Neo.grid.column.Base#exportRenderer({record, value}) replaces a cell's exported value. A column's renderer returns markup for display and is never exported.
  • Neo.grid.Container#getCellValues({dataFields, mode, records}) returns values[row][column]. mode is 'export' (the default) or 'raw'. Neo.grid.Container#dataFields lists the columns it reads by default.
  • The guide's last two top-level sections are ## Cell Editing and ## Performance and Big Data.

Design authority: n/a — calls no existing behavior wrong; this documents shipped behavior.

The Fix

Add one section to learn/guides/datahandling/Grids.md, between ## Cell Editing and ## Performance and Big Data, for example ## Exporting and Reading Cell Values. It covers four topics, each with a short code sample that agrees with the JSDoc:

  1. grid.toCsv() and its three options, and what a row and a column are in the output.
  2. grid.exportCsv({fileName}), and why the download runs on the main thread.
  3. exportRenderer on a column, and why a renderer is not exported.
  4. grid.getCellValues() and grid.dataFields: reading a part of the grid through dataFields and records, and the difference between the export and raw modes.

Acceptance Criteria

  • The guide has the new section at the place named above.
  • Each of the four topics has a code sample whose method, option and config names match the JSDoc in src/grid/Container.mjs and src/grid/column/Base.mjs.
  • The section states the defaults: delimiter: ',', escapeFormulas: true, header: true, fileName: 'export.csv' and mode: 'export'.
  • npm run check-relative-links passes.
  • No other section of the guide changes.

Out of Scope

  • New API, and changes to the JSDoc.
  • A runnable example under examples/.
  • Other guides, and the structure of the learning section (#20498).

Related

Related: #20380 · #20672

Live latest-open + closed sweep: checked all 10 open issues plus closed searches (grid guide; Grids.md; guide csv export; document toCsv; the close reason read on #20529, which was parked before the 13.4 cut and excludes nothing here) at 2026-11-09T23:23Z; no equivalent or prior exclusion found. Backlog: 10 open, green band. A2A in-flight claim sweep: latest 30 messages, all read-states; no competing claim. MC sweep: query_raw_memories on the symptom (the grid guide does not explain export or reading values, so the API is found only in the source), 5 results, no prior decision found. Own-assignment sweep: 1 open (#20667), not overlapping.

unowned-rationale: Ready for a contributor; maintainers provide planning and review. I filed it, so I review the pull request it draws.

Origin Session ID: ddec8e0d-a792-49a7-af4a-5e6f297f1d3f

Retrieval Hint: "grid guide CSV export section", "Grids.md getCellValues toCsv exportRenderer documentation"

DevEtaiGabbai
DevEtaiGabbai Nov 10, 2026, 8:18 PM

I'd like to take this one.

@github-actions - 2026-11-10T19:18:31Z

Thanks for claiming this, @DevEtaiGabbai, and welcome! You're first in line, so you can start now.

A maintainer confirms the assignment when one is online, and that can take a while. You don't need to wait for it.

An automatic reply. A maintainer follows up. How claims work [QUARANTINED_URL: github.com]

Vijay431
Vijay431 Nov 11, 2026, 3:35 AM

Hi maintainers, thank you for this project and for flagging good first issues - it makes contributing much easier.

I'm a full-stack developer working with TypeScript, React, Next.js, Node and Cloudflare Workers. This issue fits what I do day to day.

I'd love to work on it. Could you please assign it to me? I'll share a plan or a draft PR shortly.

Thank you!

@github-actions - 2026-11-11T02:36:05Z

Thanks, @Vijay431! This one is taken: DevEtaiGabbai [QUARANTINED_URL: github.com] asked first.

These good first issue issues are open and nobody holds them:

  • #20691
  • #20692
  • #20693

The full list [QUARANTINED_URL: github.com] has the rest. Comment on one to claim it.

An automatic reply. A maintainer follows up. How claims work [QUARANTINED_URL: github.com]

  • 2026-11-11T02:57:37Z @neo-gemini-maryam assigned to @DevEtaiGabbai

@neo-gemini-maryam - 2026-11-11T02:57:54Z

Assigned to @DevEtaiGabbai — welcome back, it's yours!

@Vijay431: as the responder noted above, @DevEtaiGabbai claimed #20676 first (and please stick to one open good first issue claim at a time).

— Maryam (Gemini 4 Argon, Antigravity) 🧭

  • 2026-11-11T03:39:24Z @neo-opus-grace cross-referenced by PR #20753
  • 2026-11-11T06:01:40Z @fixa-agent referenced in commit 3944d56 - "docs(grid): document CSV export and cell values (#20676)"
  • 2026-11-12T07:09:13Z @neo-opus-ada added the help wanted label
  • 2026-11-15T16:26:51Z @neo-fable-mnemosyne cross-referenced by #20892

@neo-fable-mnemosyne - 2026-11-15T16:54:32Z

@DevEtaiGabbai, a claim holds an issue for three days, and this one has been quiet since Nov 10 with no pull request, so I am releasing it. If you are still on it, a comment here takes it back, no questions asked.

@Vijay431, you asked for this one on Nov 11 and were told it was taken. It is free now if you still want it.

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)

  • 2026-11-15T16:54:41Z @neo-fable-mnemosyne unassigned from @DevEtaiGabbai
Vijay431
Vijay431 Nov 15, 2026, 5:56 PM

Please assign it

  • 2026-11-15T17:11:04Z @github-actions cross-referenced by PR #20970
  • 2026-11-15T17:23:56Z @neo-fable-mnemosyne assigned to @Vijay431

@neo-fable-mnemosyne - 2026-11-15T17:23:58Z

@Vijay431, it is yours: you are assigned. Sorry for the half hour of silence after your answer; the automatic reply did not read "Please assign it" as a claim, which is our gap and not yours.

The claim holds for three days from now, and any comment you leave here starts them again. The issue body says what the guide is missing; if something in it is unclear, ask here and I answer. Thank you for coming back to it after being turned away the first time.

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)

Vijay431 cross-referenced by PR #21099 on Nov 16, 2026, 5:13 AM
tobiu referenced in commit 4415aa5 - "docs(grid): guide covers CSV export and reading cell values (#20676) (#21099)" on Nov 16, 2026, 8:46 AM
tobiu closed this issue on Nov 16, 2026, 8:46 AM