Skip to content

v2.0.0-beta.9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Aug 18:29
· 241 commits to main since this release
3847aed

Minor Changes

  • #53 b6e2876 Thanks @Psvensso! - The body is one tab stop in each direction, bracketed by two tab-guard parts.
    A control inside a body cell needs no tabIndex of its own.

    • Inside a row, Tab walks its controls - the open editors, the buttons in its cells and the edit lane's save and cancel - and past the last one the cursor moves to the next row's first cell.
    • Breaking. useCellControlTabIndex is removed. Drop the tabIndex it fed; nothing replaces it.
    • Pressing a control inside a cell keeps the selected block instead of collapsing it to that cell.
    • Scrolling a focused row into view accounts for the sticky header, the pinned rows and the summary row.
  • #53 401dde9 Thanks @Psvensso! - New: edit.getRowValues(rowId) and edit.getRows() - rows as shown, drafts overlaid, deletion marks and entry rows flagged rather than filtered. New type TMDataGridEditRowSnapshot.

  • #54 36657fd Thanks @Psvensso! - Under editing.draft, committed drafts and committed new rows are the table's
    rows: they sort, filter, group and aggregate on their draft values, and
    edit.getRows() and editing.tableValidators read the same collection.
    editing.newRowsSticky keeps committed new rows in the entry block instead.

    • Body rows publish data-new; a committed new row is a row part, no longer
      an entry-row, and data-dg-entry-flow-block is gone.
    • New TMDataGridEditState.committedValues - the draft store's values, kept
      across a reopen so the row holds its place.
    • Row callbacks now receive the draft as row.original; a new row carries its
      temp id.

Patch Changes

  • #53 7e472b1 Thanks @Psvensso! - The cell focus ring no longer paints over a pinned column: a focused cell that is not pinned now scrolls under the pinned lanes, and a focused pinned cell keeps its ring above the row sliding past it.