Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Reference
Ratatosk CLI
Roadmap
RFC 0001: make:resource
RFC 0002: live queries
RFC 0003: MCP server
RFC 0004: MCP resource templates
RFC 0005: a Laravel backend
RFC 0006: Laravel broadcasting
RFC 0007: offline and sync
RFC 0008: Laravel notifications
RFC 0009: Files
RFC 0010: Laravel abilities
RFC 0011: an assistant in the app
RFC 0012: @elyra/ui
RFC 0013: the assistant sees the window
RFC 0014: Elyra Inspector
RFC 0015: presence
RFC 0016: capabilities per window
RFC 0017: record invalidation
RFC 0018: the assistant's answer, streamed
RFC 0019: a window from the tray
RFC 0020: an app that stays in the tray
RFC 0021: a server chosen at sign-in
RFC 0022: signed in to more than one server
RFC 0023: private channels a window listens to
RFC 0024: updates from the backend
RFC 0025: commands and configuration
RFC 0026: the running app, for coding agents
RFC 0027: the assistant's code mode
RFC 0028: the tray's icon, and the app's
RFC 0029: installers
RFC 0030: the app's identity on Windows
RFC 0031: a token per workspace
RFC 0032: the microphone
RFC 0033: diagnostics the user can send
RFC 0034: one screen in several states at once
RFC 0035: point at it, and hand it to the agent
RFC 0036: rata check, the app checked as a whole
RFC 0037: Theme Studio
RFC 0038: edit it in its own app
RFC 0039: a write shown at once in every window
RFC 0040: the two halves agree
RFC 0041: Quick Look
RFC 0042: follow a colleague
RFC 0043: every write seen
RFC 0044: composite keys
RFC 0045: bigint all the way
RFC 0046: pivot columns
RFC 0047: relations on any key
RFC 0048: more providers
RFC 0049: OpenAI web search
RFC 0050: integer-keyed arguments
RFC 0051: citations
RFC 0052: open documents
RFC 0053: exit hooks
RFC 0054: the gui feature
RFC 0055: menus that change
RFC 0056: the framework's own words
RFC 0057: rata upgrade
RFC 0058: @elyra/charts
RFC 0059: all of WireCharts
RFC 0060: exporting a chart
RFC 0061: zoom
RFC 0062: printing
RFC 0063: linked charts
RFC 0064: report pages
RFC 0065: marks
RFC 0066: taking a table out
RFC 0067: totals
RFC 0068: columns the user picks
RFC 0069: filters
RFC 0070: saved views
RFC 0071: lists over Laravel
RFC 0072: targets
RFC 0073: every row out
RFC 0074: grouped rows
RFC 0075: pinned columns
RFC 0076: views on the server
RFC 0077: every match selected
RFC 0078: editing in the table
RFC 0079: many cells at once
RFC 0080: a value for the selected rows
RFC 0081: a new row in the table
RFC 0082: a related record in a cell
RFC 0083: a filter by a related record
RFC 0084: one write for many rows
RFC 0085: the keys shown
RFC 0086: many rows in Laravel
RFC 0087: many rows deleted
RFC 0088: the trash
Release notes
Changelog
Elyra
RFC 0066 — Taking a table out: copy and CSV

RFC 0066 — Taking a table out: copy and CSV

Status: implemented (2026-11-28) · Target: 0.63.0 · builds on RFC 0012 and RFC 0060 · see Decisions

Summary

The first thing a user does with a table of invoices, after reading it, is take it somewhere else: paste three rows into an email, the month into a spreadsheet, the list to the accountant as a file. A chart can do that since 0.60 (RFC 0060); @elyra/ui's Table can't. Selecting the text with the pointer picks up the checkboxes, the action buttons and the pager, and loses the columns.

This RFC gives Table the same way out:

<Table rows={invoices} columns={columns} label="Invoices" select bind:this={table} />

<Button onclick={() => table.save()}>Save as CSV…</Button>
  • A context menu on the table (a right click, Shift+F10 or the Menu key): Copy (the row, or the selected rows), Copy table and Save as CSV….
  • ⌘C / Ctrl+C on a focused row copies it, or the selected rows: as tab-separated text, which pastes into Excel, Numbers and Sheets as cells and into an email as lines.
  • csv(), copy(rows?) and save() on the component, for an app's own button.
  • exportable={false} turns it off, as on a chart.

Motivation

  • A table is the data the user came for. A desktop app that can't put its rows on the clipboard sends the user to a screenshot.
  • The pointer can't do it. A table with checkboxes, cell snippets and actions selects as noise; a paged table selects one page.
  • The format is a spreadsheet's. What's pasted should land in cells, as numbers a spreadsheet can sum, not "kr 12 400,00" as text.
  • Charts and tables sit together. A dashboard whose chart exports and whose table doesn't is half a feature, and the CSV should be the same CSV (separator, decimal sign, quoting) from both.

Current state (0.62)

  • @elyra/charts makes CSV in internal/export.js (csvOf, separatorFor: ; where the locale's decimal sign is a comma), and saves through files.save and copies through clipboard.writeText (RFC 0060).
  • Table has rows (searched, sorted and paged in the table) or page (a live query's page), columns with format, select/bind:selected, and keys on the rows (↑/↓, Enter, Space for Quick Look). It has no context menu.
  • The runtime's clipboard takes text and images, not HTML.

Design

What's taken

rows page (a live query)
Copy table, csv(), save() every row, as searched and sorted the page that's loaded
Copy the focused row, or the selected ones the same

The columns are the table's, in its order, with their labels as the head; the actions column isn't one. A value is the row's own, not the cell snippet's drawing: a number as a plain number in the locale's decimal sign (12400,5 in Norwegian, no grouping, no currency), a date-only ISO string as it is, anything else through the column's format if it has one, else as text. So a spreadsheet sums the amounts, and the customer's name is what the table showed.

The formats

  • Copy is tab-separated text, a row a line, the head first when it's the table, not when it's rows: a pasted row lands under the user's own head. A tab or a line break in a value is a space.
  • CSV is RFC 0060's: the separator by the locale, fields quoted where needed, \r\n, and the table's label as the first line, as a chart's caption is. The file is named by the label and the date ("Invoices 2026-11-28.csv").

The CSV code moves to @elyra/ui (internal/csv.js); @elyra/charts uses it from there, so both write the same file.

The menu and the keys

The menu is the runtime's contextMenu, as a chart's. Outside the shell (a page in a browser) it has Copy and Copy table, through the browser's clipboard; Save as CSV… needs the shell's dialog. ⌘C is the row's only when focus is on a row and no text is selected in the page, so copying text from a cell's input still copies the text. Each copy says "Copied" in a toast; a failure says why.

Words

elyra.table.copy, copyTable, saveCsv, copied and exportFailed, in English and Norwegian.

Testing

  • The values: numbers plain in the locale, dates, format, the actions column left out, a page's rows.
  • TSV and CSV: separators, quoting, tabs and line breaks in values, the head.
  • The menu's items in and out of the shell, with and without a selection; ⌘C on a row, on the selected rows, and not over selected text.
  • @elyra/charts' CSV unchanged from the moved code (its tests as they are).
  • A browser check in the docs: copy rows, paste into a textarea.

Implementation plan

  1. internal/csv.js in @elyra/ui, from @elyra/charts' export.js; charts imports it.
  2. Table's values, csv(), copy(), save(); the menu and ⌘C; the words.
  3. Docs (docs/ui/table.md, an example), CHANGELOG.

Open questions

  1. A page table: the page, or every row of the query? Recommendation: the page that's loaded, as printing does (RFC 0062). A query of 50,000 rows is an export job of the app's own, through its backend; the table can't know what that costs.
  2. Numbers plain, or as the column's format shows them? Recommendation: plain, in the locale's decimal sign. A spreadsheet can't sum "kr 12 400,00"; the format's look is the screen's. A column's format is used for values that aren't numbers (a status code shown as its name), never for a number.
  3. HTML on the clipboard too (a table that pastes with its formatting)? Recommendation: not in this RFC. It's a new clipboard call in the shell on three platforms, and tab-separated text already lands in cells everywhere that matters.
  4. ⌘C on by default? Recommendation: yes, with exportable: it's what a desktop list does, and it only acts on a focused row.
  5. Excel (.xlsx) as well as CSV? Recommendation: no. CSV opens in Excel, Numbers and Sheets; an .xlsx writer is a dependency for a format the app can make on its backend if it needs one.

As built

  • @elyra/ui/internal/csv.js: separatorFor, csvText, tsvText, plainNumber and fileNameOf, moved from @elyra/charts' export.js, which now uses them (its own tests unchanged). @elyra/charts 0.63 needs @elyra/ui 0.63, as a release's packages go together; the peer ranges aren't raised, as they weren't for earlier imports from @elyra/ui.
  • What's taken: rows gives its searched and sorted list (the table keeps it apart from the page now, sorted); a live page its data. The selected rows of rows come from every page, in the table's order.
  • A value: a number plain (Intl.NumberFormat without grouping, up to 20 decimals); a date-only ISO string as it is; else the column's format; else the value as text, an object as JSON.
  • Copy row says how many: "Copy row", "Copy 3 rows" (a plural word).
  • The menu is on the table's scrolling box; a right click in an input, a textarea, a select or an editable element of a cell keeps the browser's. Shift+F10, the Menu key and ⌘C are on the rows that take the keyboard (with onrowclick, select or preview); a plain table's keyboard users have the app's own buttons (csv(), copy(), save()).
  • Outside the shell the menu has no Save as CSV…, and copies through navigator.clipboard.
  • Checked in Chromium: the docs' table: the menu, Copy table, ⌘C on a row, and pasted into a textarea as tab-separated lines.

Decisions

  1. A page table exports the page that's loaded, not every row of the query.
  2. Numbers plain, in the locale's decimal sign; a column's format is for values that aren't numbers.
  3. No HTML on the clipboard in this RFC: tab-separated text.
  4. ⌘C on by default, with exportable, on a focused row.
  5. CSV only, no .xlsx.

Not in this RFC

  • Choosing columns to export, or exporting hidden ones.
  • Every row of a server-paged query.
  • Pasting into a table.

Alternatives considered

  • A csv helper the app calls with its rows: every app wires its own menu and ⌘C, and none of them match.
  • The shown text (the cells' innerText): what a cell snippet draws isn't always text (a badge, an avatar), and numbers come out formatted.
  • Leave it to the browser's selection: it selects the controls and loses the columns.