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 0068 — Columns the user picks: shown, hidden, in their order

RFC 0068 — Columns the user picks: shown, hidden, in their order

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

Summary

A list of customers has twelve fields worth a column, and each user needs five of them: sales wants the phone and the last order, accounting the org number and the balance. Today the app picks the columns of Table, once, for everyone; a user who wants another column asks for a release, and a narrow window scrolls sideways through columns nobody reads. Every desktop list (Finder, Outlook, a spreadsheet's hide) lets the user choose.

This RFC lets the user pick, and keeps what they picked:

<Table
  rows={customers}
  persist="customers"
  columns={[
    { key: "name", required: true },
    "email",
    "phone",
    { key: "org_number", hidden: true },
    { key: "balance", align: "end", hidden: true, total: "sum" },
  ]}
  choosable
/>
  • choosable gives the head a Columns button (and the header's context menu an item): a menu of checkboxes, one a column, to show or hide it, and a way back to the app's columns.
  • The order: in the same menu, each column moves up or down (by the keys too), or a header is dragged to its place.
  • hidden: true starts a column hidden; required: true keeps one shown (the name a row is known by).
  • persist keeps the choice with the widths, in the settings store, so the table opens as the user left it.
  • What's hidden is hidden everywhere: the search still finds it, but the export, the totals and print show the columns as the user sees them.

Motivation

  • The user knows which columns matter to them, the app's author doesn't, and different users of one app want different ones.
  • Width is scarce on a desktop window that shares the screen; hiding three columns is the difference between a list that fits and one that scrolls.
  • The choice must last. A column hidden every morning again is a setting the app forgot.
  • The export follows the screen (RFC 0066): "copy what I see" is what a user means; the app's own csv() with every column is one line away.

Current state (0.63, with RFCs 0066 and 0067)

  • columns are the app's, in its order; resizable with persist keeps the widths under elyra-ui.table.<persist> in the settings store.
  • The header's cells sort (a button) and resize (a grip); there's no menu on the head.
  • The table's context menu (RFC 0066) is on its rows: copy and save.

Design

The menu

With choosable, the head's last cell (the actions' column, or one of its own) holds a Columns button, a Dropdown of:

  • a checkbox a column, by its label, in the table's order: checked when shown; a required column's is checked and disabled;
  • for the focused item, Alt+↑ / Alt+↓ move the column (said: "Phone moved to 3 of 5"), as do up and down buttons on it for the pointer;
  • Reset columns: the app's own columns, order and widths.

A right click on the head opens the same menu. Hiding the last column that isn't required is refused (the item is disabled): a table shows at least one.

Dragging a header

A header's label is dragged left or right to its place (the pointer only; the keys have the menu). The grip still resizes; a drag that starts on it isn't a move.

What's kept

persist keeps { widths, hidden, order } under the same key, as one value: the widths as today (a key's old value, widths alone, is still read as them), the hidden keys, and the order as keys. A column the app adds later is shown (unless it's hidden) at its place in the app's order; a key the app took away is forgotten.

Everywhere else

  • Search goes on searching every column, hidden ones too: the user hid it from view, not from the search. (A hidden match is the row; the cell isn't shown.)
  • Sort by a column that's hidden goes on; its header isn't there to say so, so the table's aria-description does ("Sorted by balance").
  • Export (RFC 0066) and totals (RFC 0067) are the shown columns, in their order; csv({ all: true }) is every column, in the app's order, for an app that wants it.
  • Print and Report: the shown columns. In a Report the table is as the app set it (a report is a document, not a view).
  • The assistant sees the shown columns, as the user does.

Words

elyra.table.columns ("Columns"), resetColumns, moveUp, moveDown, moved (":column moved to :at of :count"), sortedBy, in English and Norwegian.

Testing

  • Hide, show, a required column, the last one refused; order by the menu and its keys, and by a drag.
  • persist: kept, read back, the old widths-only value, a column added and one taken away.
  • Search over a hidden column; sort by one; export, totals and print as shown; csv({ all: true }).
  • A Report's table as the app set it.
  • The menu's roles and the live region's words.
  • A browser check in the docs: hide two columns, move one, reload.

Implementation plan

  1. internal/columns.js: the shown columns from the app's and the user's choice, and the kept value, held by tests without a DOM.
  2. Table's Columns menu, the head's context menu, the drag; persist.
  3. Export, totals, print and the assistant on the shown columns; csv({ all: true }).
  4. Docs (docs/ui/table.md, an example), CHANGELOG; make:resource --view lists choosable.

Open questions

  1. On with choosable, or always? Recommendation: with choosable. A table of three columns in a dialog has nothing to choose, and the button is in its head.
  2. Export: the shown columns, or every one? Recommendation: the shown ones, as the user sees them; csv({ all: true }) for the app's own export.
  3. Kept under the widths' key, or one of its own? Recommendation: the same key, one value: a table's look is one thing to keep, and one key per table is what the app names. The widths-only value of 0.62 is read as it was.
  4. Dragging headers in this RFC? Recommendation: yes, as well as the menu: it's how every desktop list reorders, and the menu covers the keyboard.
  5. make:resource --view lists choosable? Recommendation: yes: a resource's list is the kind of wide list this is for, and it has persist already.

As built

  • internal/columns.js: arrange (the shown columns and all of them in the user's order), toggled, moved, canHide and keptOf, plain functions. A column the user has seen keeps their choice; one they haven't takes the app's hidden, at its place after the app's column before it.
  • The Columns button is over the table, on the right (beside the search when there is one), not in the head's last cell: a cell of its own would add a column to every row, the colgroup and the foot, and the actions' cell is the rows'. A right click on the head opens it.
  • The menu is a Dropdown with items of its own, menuitemcheckbox (which the dropdown's keys walk), that don't close it; Reset columns is a MenuItem, which does. Alt+↑/↓ on an item moves its column and keeps the focus on it; the arrows beside it are for the pointer (aria-hidden, out of the tab order).
  • A drag starts on a header (not its grip) and moves once the pointer has gone 6 px; the column goes to the place of the shown header it's over, as it moves. The click that ends it is swallowed, so a sortable header isn't sorted.
  • Kept: with choosable, { widths, hidden, order }; without it, the widths alone as 0.62 kept them, so a resizable table's value doesn't change shape. keptOf reads both.
  • hidden without choosable isn't shown either: the app's way to keep a column for the search and csv({ all: true }) only.
  • Totals of hidden columns are kept for csv({ all: true }); the foot shows while a shown column has a total.
  • In a Report (.elyra-paper around the table) the user's choice isn't used, and there's no menu.
  • The assistant reads the window as it's drawn, so it has the shown columns without a change of its own.
  • Checked in Chromium: the docs' example: two columns picked, one moved by Alt+↑ ("Org. no. moved to 2 of 5"), a header dragged to the end.

Decisions

  1. With choosable, not always.
  2. The export is the shown columns; csv({ all: true }) is every one.
  3. Kept under the widths' key, as one value; 0.62's widths-only value is read as it was.
  4. Headers are dragged to reorder, as well as the menu.
  5. make:resource --view lists choosable.

Not in this RFC

  • Columns the app doesn't list (every field of the row, picked by the user).
  • Saved views (named sets of columns, filters and sort).
  • Pinning a column to the left while the rest scrolls.

Alternatives considered

  • The app's own settings page for columns: every app builds it, and none of them is where the table is.
  • Only the menu, no drag: works, but the pointer user reaches for the header first.
  • A key of its own for the choice: a second name per table to keep apart, for no gain.