Skip to content

feat(grid): copy rows with their column names from the cell menu (closes #636) - #637

Merged
danielnuld merged 1 commit into
mainfrom
feat/copy-with-headers
Sep 28, 2026
Merged

danielnuld merged 1 commit into
mainfrom
feat/copy-with-headers

Conversation

@danielnuld

Copy link
Copy Markdown
Owner

Closes #636.

The cell menu gets, right under Copiar fila / Copiar N filas:

  • Copiar fila / N filas seleccionadas con encabezados: the same targets (marked rows, or the one under the pointer), with the column names as the first line.
  • Copiar las N filas cargadas con encabezados: every row the grid has loaded (shown only when that is more than the targets).

Both are tab-separated and follow the grid's column order, like the plain copy, so they paste into a spreadsheet with its header row. The header only goes into the text: the in-app clipboard (paste as new rows) already carries its columns, and is unchanged.

copyRows(..., withHeader) is the only logic change; tested in rowCopy.test.ts (header in the grid's order, default without). Component tests (52 files) and typecheck pass. Not yet tried in the running app.

 #636)

Two entries next to Copiar fila: the marked rows (or the one under the
pointer) with the column names as their first line, and every loaded row
the same way. Tab-separated and in the grid's column order, like the plain
copy; the header only goes into the text other programs get, since the
in-app copy already carries its columns.
@danielnuld danielnuld added the area:frontend Interfaz web sobre webview label Sep 28, 2026
@danielnuld
danielnuld merged commit 240d00e into main Sep 28, 2026
13 checks passed
@danielnuld
danielnuld deleted the feat/copy-with-headers branch September 28, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Interfaz web sobre webview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copiar filas de la rejilla con los encabezados, desde el menú contextual

1 participant