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

2 hours ago

Release Notes for v8.1.0

Additive feature release. No breaking changes.
See what's new for narrative coverage.

New features

  • Inline editing now supports number, date, checkbox, and custom editor types.
    New column-level validate hook gates the edit before onCellEdit fires.
    → Inline editing
  • Shift-click range selection on row checkboxes.
    Enabled by default — opt out with selectableRowsRange={false}.
    New selectedRows prop drives controlled selection.
    → Row selection
  • New headless export hook useTableExport: build CSV/JSON, trigger a download, or copy to clipboard.
    → Export

Bug fixes & polish

  • Expandable row open/close animation now works correctly.
    Switched from a max-height tween (which appeared instant at realistic content heights) to the CSS grid grid-template-rows: 0fr → 1fr trick, giving a true height transition.
    Close animation added — the row stays mounted while animating out, then unmounts. Both directions respect animateRows and prefers-reduced-motion.
  • Fixed useLayoutEffect SSR warning in Next.js App Router and Astro SSR modes.
    The effect now falls back to useEffect on the server.
    → SSR
  • Inline editing: added CSS for checkbox and custom editor types, and validation error tooltip styles (.rdt_cellEditError, .rdt_editErrorTip).

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

NewReleases is sending notifications on new releases.