Frontmatter
| assignees | Naingzwehtut |
| createdAt | Nov 16, 2026, 8:25 PM |
| updatedAt | Nov 17, 2026, 5:05 PM |
| githubUrl | https://github.com/neomjs/neo/issues/21188 |
| author | neo-fable-clio |
| commentsCount | 7 |
| parentIssue | 21175 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 3 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 17, 2026, 5:05 PM |
A grid example exports what it shows as CSV

/unclaim
- 2026-11-17T07:34:25Z @github-actions assigned to @08abhinav
@github-actions - 2026-11-17T07:34:26Z
Thanks for claiming this, @08abhinav, and welcome! Assigned to you — you can start now.
Your claim reserves this issue for 3 days (any comment here resets the clock; we still merge the first approve-worthy PR if another lands first or a claim goes quiet).
An automatic reply. How claims work [QUARANTINED_URL: github.com]
701423a - "PR screenshots for #21188: desktop-dark-first-frame.png" on Nov 17, 2026, 8:43 AM
01096b7 - "PR screenshots for #21188: desktop-dark-pane-open.png" on Nov 17, 2026, 8:43 AM
0da0e7b - "PR screenshots for #21188: desktop-light-first-frame.png" on Nov 17, 2026, 8:43 AM
ceb14ef - "PR screenshots for #21188: desktop-light-pane-open.png" on Nov 17, 2026, 8:43 AM
6207ac1 - "PR screenshots for #21188: grid-export-14.jpg" on Nov 17, 2026, 8:43 AM
86593db - "PR screenshots for #21188: phone-dark-first-frame.png" on Nov 17, 2026, 8:44 AM
7f241cc - "PR screenshots for #21188: phone-dark-pane-open.png" on Nov 17, 2026, 8:44 AM
164a728 - "PR screenshots for #21188: phone-light-first-frame.png" on Nov 17, 2026, 8:44 AM
488fac8 - "PR screenshots for #21188: phone-light-pane-open.png" on Nov 17, 2026, 8:44 AM

Sorry for the noise here. My claim command got mangled by my Windows shell (it posted as a file path, which I've now deleted), so I didn't see that @08abhinav had claimed this and went ahead with #21240 and neomjs/pages#98.
@08abhinav, the issue is yours. I've moved both PRs to draft and I'm stepping back. If you or the maintainers find anything in them useful, feel free to take it; otherwise I'll close them.

Hey @Naingzwehtut, no worries at all, since you've already put in the work on those PRs, don't worry I am unclaiming it. please unassign me

Thanks a lot, @08abhinav! The bot only reacts to new comments, so could you post /unclaim as a fresh comment? Then I'll claim it and move #21240 and neomjs/pages#98 back to ready for review.
- 2026-11-17T08:42:59Z @github-actions assigned to @Naingzwehtut
- 2026-11-17T08:43:00Z @github-actions unassigned from @08abhinav
@github-actions - 2026-11-17T08:43:01Z
Thanks for claiming this, @Naingzwehtut, and welcome! Assigned to you — you can start now.
Your claim reserves this issue for 3 days (any comment here resets the clock; we still merge the first approve-worthy PR if another lands first or a claim goes quiet).
An automatic reply. How claims work [QUARANTINED_URL: github.com]
5f5e94f - "feat(examples): a grid that exports what it shows as CSV (#21188) on Nov 17, 2026, 1:13 PM
19cf8ce - "test(portal): count the export example in the Grid & Table family (#21188) on Nov 17, 2026, 1:13 PM
c4f4b01 - "feat(examples): a grid that exports what it shows as CSV (#21188) on Nov 17, 2026, 1:23 PM
280f5f6 - "test(portal): count the export example in the Grid & Table family (#21188) on Nov 17, 2026, 1:23 PM
3269ade - "feat(examples): a grid that exports what it shows as CSV (#21188) on Nov 17, 2026, 4:18 PM
ab2cd19 - "test(portal): count the export example in the Grid & Table family (#21188) on Nov 17, 2026, 4:18 PM
1ddbffd - "fix(examples): the export example shares its width and releases its Store (#21188) on Nov 17, 2026, 4:18 PM
9aaf3e9 - "PR screenshots v2 for #21188: desktop-light-first-frame" on Nov 17, 2026, 4:18 PM
d948a9d - "PR screenshots v2 for #21188: desktop-dark-first-frame" on Nov 17, 2026, 4:18 PM
56644c6 - "PR screenshots v2 for #21188: desktop-light-pane-open" on Nov 17, 2026, 4:18 PM
b8783bf - "PR screenshots v2 for #21188: phone-light-first-frame" on Nov 17, 2026, 4:18 PM
Please comment to claim before starting; check current assignees and linked PRs.
Context
New example 4 of the Grid & Table slate (#21142), a leaf of #21175 (the Grid & Table group, under #21140). The visitor's question: can the data leave the grid?
The Problem
The grid exports its rows as CSV since #20380:
toCsv()returns the text andexportCsv()downloads it (src/grid/Container.mjs:1915and:1954ondevc40689ef53). No example and no app of this repository calls either. Export is one of the first things a buyer of a grid asks for, and the examples section cannot show it.The Architectural Reality
toCsv({delimiter, escapeFormulas, header}):escapeFormulasdefaults to true and guards a cell that starts with=,+,-or@against being run by a spreadsheet (:1927).exportCsv({fileName, ...options})hands the text to the main thread, since a worker cannot start a download (:1948).exportRendererfor a formatted value. It left out Excel files, unloaded remote pages and a selection-only export.learn/guides/datahandling/Grids.md).examples/grid/headerGroupsis the model for the page: its own viewport, a headline, one instruction line, a theme button, both themes.examples/grid/<feature>/.The Fix
examples/grid/export, after theheaderGroupsmodel.exportCsv(). "Show CSV" puts the first 20 lines oftoCsv()into a read-only pane beside the grid, so the proof needs no file and works on a phone.=, so the escaping shows in the pane.grid-table,featureandlookFor.Acceptance Criteria
test/playwright/e2e/grid/asserts it.exportRendererwhere needed.neomjs/pagesmainbefore this PR merges:publishes()(apps/portal/model/Example.mjs:120) drops a record withoutimage, and the family case ofTabContainerController.spec.mjsturns red on one. That spec's covered ids and totals are recounted against thedevthis PR rebases on.Out of Scope
Excel files, a selection-only export and remote pages (all left out by #20380); changes to
toCsv()orexportCsv().Avoided Traps
Related
Parent #21175 · the slate #21142 · #21140 · #20380 (the export, closed) · #20676 (the guide, 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, 68 open (red band, so this is a leaf of the owning epic #21175), open and closed search ("csv export grid example"; Out of Scope and Avoided Traps of #20380 read) at 2026-11-16T19:21Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 19:21Z: no claim. MC sweep ("Grid and Table examples read as toys: the same six names"): this slate's own trail, no prior decision. Own-assignment sweep: 7 open; #21142 and #21140 are the parents. Structure-map: N/A, a sibling folder under
examples/grid/.Decision Record impact: none.
Retrieval Hint: "grid CSV export example toCsv exportCsv no caller preview pane escapeFormulas"
📜 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).