github jbetancur/react-data-table-component v8.5.0

5 hours ago

New features

  • Keyboard cell navigation — new cellNavigation prop turns the table into a WAI-ARIA grid (role="grid"/"gridcell", single Tab stop, roving tabindex). Arrow keys move between cells, including the header row, selection checkboxes, and expander buttons; Home/End and Ctrl+Home/Ctrl+End jump to row and grid edges; Enter/F2 open a cell's editor and Escape cancels it; Enter/Space sort from a header. → Keyboard navigation (#1332)
  • More headless hooksuseCellNavigation (the same logic behind cellNavigation, usable on your own markup) and useColumnResize (drag-to-resize) are now exported. Column pinning gets three new pure-function exports — getPinnedOffsets, getPinnedTotalWidths, getPinnedCellMeta — since pinning has no state to own beyond column.pinned on your own columns. → Headless hooks

Bug fixes

  • Fixed inline-edit refocus resolving by DOM id, which could steal focus into a different DataTable instance on the same page when two tables shared column ids and row keys.

Full changelog: https://reactdatatable.com/docs/changelog

Don't miss a new react-data-table-component release

NewReleases is sending notifications on new releases.