Skip to content

Keep repeating-group table headers visible when rowsBefore or rowsAfter is configured #4422

Backlog

Description

@olemartinorg

When a repeating group has configured rowsBefore or rowsAfter, its column headers should remain visible, including when the table is empty or its only row is open for editing.

Currently, opening the only row for editing hides the headers unless a column has editInTable: true. An empty table also hides the headers and configured extra rows. This removes the column context for content such as totals.

Steps to reproduce

  1. Configure a repeating group with column headers and rowsBefore or rowsAfter.
  2. Leave editInTable disabled.
  3. Add one row and open it for editing. The column headers disappear.
  4. Delete the row. The headers and configured extra rows disappear.

Expected behavior

Keep the headers visible whenever rowsBefore or rowsAfter contains configured rows, independently of editInTable and whether a data row is being edited.

Related: #4121.

Optional design suggestion

When rowsAfter is configured, consider placing “Legg til ny” in a dedicated action row immediately above it. This would give an empty table a clear starting point and keep the add action above totals as more rows are added.

Empty table prototype with column headers, an add-action row, and totals

One-row prototype with the add action above totals

These screenshots illustrate a possible design; the primary request is to preserve the table headers.

Activity

  1. added
    kind/bug
    squad/utforming
    on Nov 30, 2026
  2. olemartinorg commented on Nov 30, 2026

    @olemartinorg
    ContributorAuthor
  3. added theissue type on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugsquad/utformingstatus/triage

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions