github KevinVandy/material-react-table v2.8.0

latest releases: v3.0.1, v3.0.0, 2.13.3...
8 months ago

What's Changed

  • Removed internal display column def memoization that caused edge cases with enabling and disabling features conditionally. (like enableRowActions and enableEditing, etc.)
  • Improved Column Resizing and Column/Row DnD Performance by caching column definitions while user is dragging.
  • Added new grow column option to allow for columns to grow to fill the remaining space in the table when layoutMode: 'grid-no-grow' is enabled, or to force a column to not grow when layoutMode: 'grid' is enabled and grow: false is set.
    • mrt-row-select, mrt-row-drag, mrt-row-pin, and mrt-row-number columns are now set to grow: false by default now.
    • mrt-row-expand column is also set to grow: false if only detail panels are enabled.
    • mrt-row-expand is now set to a size: 100 by default (slightly wider)
  • Fixed indentation of mrt expand column when layoutMode was grid or grid-no-grow (using margin instead of padding now)
  • Modified editSelectOptions to allow for dynamic values on a per-cell basis. ({ row, cell, etc. }) => []
  • Fixed edit textbox controlled component warning
  • fix docs claim about default sorting function by @andreimatei in #947
  • MRT Display Columns with better column resizing performance and less memoization by @KevinVandy in #949

New Contributors

Full Changelog: v2.7.0...v2.8.0

Don't miss a new material-react-table release

NewReleases is sending notifications on new releases.