Skip to content

Releases: KevinVandy/material-react-table

v2.9.0

24 Jan 09:25
Compare
Choose a tag to compare

What's Changed

  • Added new renderCaption table option to allow for a <caption> element to be rendered within the table by @lalong13 in #957
  • Fixed row hover opacity style issues for pinned columns and selected rows with ::before and ::after pseudo elements in pinned cells
  • Standardized data-index, data-pinned, and data-selected attributes on body rows, head cells, body cells, and footer cells where applicable
  • Column virtualization performance optimizations

New Contributors

Full Changelog: v2.8.0...v2.9.0

v2.8.0

20 Jan 03:55
Compare
Choose a tag to compare

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

v2.7.0

18 Jan 06:16
Compare
Choose a tag to compare

What's Changed

  • New 'positionCreatingRow' table option to customize where the creating row is rendered in the table body.
  • All MRT MUI menus now use the baseBackgroundColor mrt theme color for the menu background color.
  • Fixed bug where the page index was not being reset to last page with rows when number of rows in the table changed.
  • Made some tooltips text non-interactive to prevent accidental clicks.
  • Simplified internal column preparation APIs.

Full Changelog: v2.6.1...v2.7.0

v2.6.1

12 Jan 00:15
Compare
Choose a tag to compare

What's Changed

  • Upgraded to TanStack Table v8.11.6 for SSR bugfix (document not defined)

Full Changelog: v2.6.0...v2.6.1

v2.6.0

11 Jan 23:37
Compare
Choose a tag to compare

What's Changed

  • Added support for Detail Panels and Row Virtualization at the same time
  • Added support for Conditional Detail Panels (expand button is disabled when renderDetailPanel returns falsy value). Empty detail panels <tr> still render for virtualization and striped rows to work properly.
  • Fixed Row Selection indeterminate and checked state when sub-row selection is off
  • Fixed Expand Row Button padding and rotation in RTL mode
  • Fixed Pagination Icon Buttons in RTL mode
  • Set a default "right" cell alignment when theme.direction is "rtl"
  • Improved Header Group Column Sizing
  • Removed some internal "@mui/material" imports. (Could speed up dev server hot reloads in some cases)

New Contributors

Full Changelog: v2.5.2...v2.6.0

v2.5.2

10 Jan 18:21
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.5.2

v2.5.1

09 Jan 20:01
Compare
Choose a tag to compare

What's Changed

  • Fixed selected row count in toolbar alert banner when using manualPagination
  • Fixed row dragging with column virtualization enabled
  • Fixed filter mode switching away from empty/notEmpty having an empty space value
  • Fixed any setDragImage errors with internal try/catch when refs are null
  • Fixed filter range slider not having a min width in popover columnFilterDisplayMode
  • Changed guide for customizing components to include reference to cust… by @65001 in #928
  • Fixed space char after change from empty filter to equal, contains fi… by @alexzrp in #919
  • storybook: implement multi row selection with hold shift by @dangkhoa99 in #917

New Contributors

Full Changelog: v2.5.0...v2.5.1

v2.5.0

08 Jan 22:24
Compare
Choose a tag to compare

What's Changed

  • New 'Remove' Grouped Column Mode UI by @KevinVandy in #916
  • Fix default SelectProps overwritten if defined in muiFilterTextFieldProps by @igor-dnascript in #823
  • Fixed grouped parent row selection toggling bugs
  • Tweaked media queries for search textbox on top of top toolbar alert banner.

Full Changelog: v2.4.1...v2.5.0

v2.4.1

05 Jan 05:57
Compare
Choose a tag to compare

What's Changed

  • Fixed MUI Pagination disabled tooltip warning
  • Fixed Column Pinning Spacing with Column Virtualization
  • Fixed Show clear filter menu if emptyModes filter fns is selected by @alexzrp in #914

New Contributors

Full Changelog: v2.4.0...v2.4.1

v2.4.0

04 Jan 18:36
Compare
Choose a tag to compare

What's Changed

  • Upgraded to TanStack Table v8.11.3 for bug fixes with expanding and row selection
  • Added 'datetime', 'datetime-range', 'time', and 'time-range' filter variants
  • Added Tooltips to pagination buttons
  • Added new MRT_ColumnVirtualizer and MRT_RowVirtualizer types
  • Added behavior to not render Save Row button unless either onCreatingRowSave or onEditingRowSave is provided
  • Allowed muiColumnActionsButtonProps.children to be overridden with a custom icon
  • Fixed issue with Sticky Row Pinning and Row Virtualization
  • Fix pagination props being invalid in docs by @Rishi556 in #907
  • Feat: creating row with external button by @dangkhoa99 in #903
  • Fix pin icon loop mouse enter and over, crash when scroll after pin row in table enable row virtualization by @dangkhoa99 in #910
  • bug/fix head cell column action cell button by @Nir-Cohen in #912
  • add datetime and datetime-range filter variants by @noam3127 in #905

New Contributors

Full Changelog: v2.3.1...v2.4.0