Changelog
Version 1 (Latest)
v1.13.1 (2023-06-15) - The Faceted Values Update
Fixed issue with
getFacetedMinMaxValues
sometimes returning the wrong data type for the min/max values for range-slider filters
v1.13.0 (2023-06-14) - The Faceted Values Update
Added new
'range-slider'
filter variant using the MUISlider
componentAdded the
enableFacetedValues
prop to allow for generating faceted values from the data under the hoodSmall performance improvements by only using certain row models under the hood when certain features are enabled (e.g. no
getSortedRowModel()
when sorting is disabled)
v1.12.1 (2023-06-12)
Fixed new Next.js key prop warning in console
Upgraded to latest TanStack Table v8.9.2
v1.12.0 (2023-05-29) - The Comply with Rollup Update
Added
MaterialReactTable
as a named export and gave a deprecation warning for the default export (will still work but will be removed in v2). This was done in order to comply with rollup bundling best practices.
v1.11.5 (2023-05-25)
Fixed potential internal const issues when
columnOrder
state was manually managed
v1.11.4 (2023-05-19)
Fixed right column pinning spacing issues
Implemented
enableSortingRemoval
in column actions menuInternal virtualization specific logic for Firefox vs Chrome
Exported new
MRT_FilterFnsState
typeExported
MRT_TableHeadCellFilterContainer
componentAdded hu translations that can be imported from
'material-react-table/locales/hu'
v1.11.3 (2023-05-07)
Removed internal
measureElement
virtualizer option to prevent firefox from crashing with virtualization enabledImproved row virtualization performance by moving translateY to row style instead of sx to create less emotion css classes
v1.11.2 (2023-05-03)
Upgrade to TanStack Table v8.9.1 for new
getGroupingValue
column option, and median aggregation function bug fixAdded sk translations that can be imported from
'material-react-table/locales/sk'
v1.11.1 (2023-04-30)
update it and nl locales grammar
tweaked how column actions "filter by" menu menu item behaves
v1.11.0 (2023-04-24) - The Less Ugly Column Actions Update
Removed Column Actions Submenu for "Show all Columns" Menu Item (was complicated unnecessary UI)
Disabled Column Actions Filter By Menu Item when columns are already visible
Fixed column resizing causing extra horizontal scrollbar to appear when dense padding is enabled
Fixed column header min-size being too big for columns with less than 5 characters
Added id translations that can be imported from
'material-react-table/locales/id'
Added fi translations that can be imported from
'material-react-table/locales/fi'
v1.10.0 (2023-04-16) - The Empty Data Message Update
New highly requested
renderEmptyRowsFallback
prop for rendering custom JSX when there are no rows to displayAdded
staticRowIndex
param tomuiTableBodyRowProps
to make styling striped virtual rows easierNow allowing table head, body, and footer cell widths to be specified in
sx
prop whenenableColumnRisizing
is disabled. BUT YOU SHOULD STILL USE THEsize
COLUMN OPTION INSTEAD!Fixed issue with "Reset Order" button not always being accurate when position props === "last"
Fixed issue with draggable columns with grouping disabled still being allowed to be dragged to dropzone.
v1.9.4 (2023-04-15)
Fixed row actions and row menu actions async memo issues
v1.9.3 (2023-04-02)
Upgraded to latest TanStack Table
v8.8.5
for newgetCanSomeRowsExpand
bugfixFixed issue where page index could be out of bounds after the number of rows in the table decreases. Table now goes to the last page automatically when this happens.
Fixed issue where global filter textbox would not initialize from external state properly
Fixed typo in
onShowColumnFiltersChange
prop name (renamed fromonShowFiltersChanged
)
v1.9.2 (2023-03-26)
Upgraded to latest TanStack Table
v8.8.4
for newrow.getParentRow
APIs and various select all bug fixesUpgraded to latest TanStack Virtual
v3.0.0-beta.54
for various bug fixesFixed issues with filter match highlighting highlighting cells that had global filtering turned off
Filter highlighting now uses
exactMatch
for non"fuzzy"
filter modes
v1.9.1 (2023-03-21)
gave hovered selected rows a better primary shade color
fixed several logic bugs with filter mode switching
v1.9.0 (2023-03-20) - The Multi-Sort Badge Update
added new multi-sort badge number to sort label
added new Serbian locales
improved textOverflow ellipsis
fixed not empty and empty filters switch not re-rendering
fixed sort arrow cutoff in non-left alignment
fixed row action menu click propagation issue
refactored row cell hover
v1.8.5 (2023-03-09)
Used more comprehensive regex to create css vars for column resizing from column ids/accessorKeys
Fixed more column resizing issues with nested column groups
Added official css classNames for column resizing elements
Added exports for
MRT_ExpandButton
andMRT_GrabHandleButton
componentsExported
MRT_Updater
type so it does not have to be imported from@tanstack/react-table
zh locale row vs column translation tweaks
v1.8.4 (2023-03-02)
Fixed column resizing issues with nested column groups
v1.8.3 (2023-02-27)
Added back support for custom edit and filter textfield children
v1.8.2 (2023-02-26)
Added
tableFeatures
prop for advanced tableInstance customizationFlattened TS types for readability
Fixed more issues with column filter modes onChange resetting column filters too often
v1.8.1 (2023-02-22)
Fixed sorting button accessibility issue
v1.8.0 (2023-02-16) - The Edit Dropdowns Update
Allow
enableEditing
prop and column options to be enabled conditionally per row(row) => boolean
Added
editVariant
andeditSelectOptions
column options to make it easier to create edit dropdownsAdded
enableFilterMatchHighlighting
as a column option to enable/disable filter match highlighting on a per column basisFixed issue with column resizing vars when
"("
or")"
are in accessor keysFixed issue with column filter modes onChange resetting column filters too often
Fixed issue with manually managed grouping state not auto-showing the built-in mrt-expand-row column
Re-export all State types from TanStack Table so that they can be imported from
material-react-table
instead of@tanstack/react-table
Re-export all Virtualizer types from TanStack Virtual so that they can be imported from
material-react-table
instead of@tanstack/react-virtual
Export all MRT sortingFns, filterFns, and aggregationFns from 'material-react-table' so that they can be imported from
material-react-table
instead of@tanstack/react-table
v1.7.4 (2023-02-12)
Upgrade to TanStack Virtual v3 beta 47
Fixed issue with nested grouped columns and column re-ordering sizes
Added new
PlaceholderCell
cell render override as a column optionTouched up the cell resize handle styling
Allow expand button props to override children for custom icons
v1.7.3 (2023-02-10)
Fixed issue with column resizing css vars when
"+"
are in accessor keys
v1.7.2 (2023-02-09)
Fixed issue with column resizing css vars when spaces are in accessor keys
v1.7.1 (2023-02-08)
Fixed issue with column resizing css vars when using nested accessor keys with dot notation
v1.7.0 (2023-02-08) "The Column Resizing Update"
Column Resizing performance improvements by switching to CSS vars for column widths and memoizing the table body during resizing by default
columnResizeMode
now defaults to"onChange"
instead of"onEnd"
Allow for column sizes to not grow if flex grow is disabled when layoutMode is
"grid"
Get rid of table row hover transition time for better UI.
v1.6.6 (2023-02-07)
Added sv translations that can be imported from
'material-react-table/locales/sv'
v1.6.5 (2023-02-04)
Added uk translations that can be imported from
'material-react-table/locales/uk'
v1.6.4 (2023-02-01)
Fixed row dragging borders not showing in semantic layout mode
v1.6.3 (2023-02-01)
Disabled ranked results when expanded sub rows are present
v1.6.2 (2023-01-30)
Auto disable select checkboxes when row.getCanSelect() is false
Upgrade to latest TanStack Table v8.7.9 for select all checkbox bug fix when row selection is conditionally enabled per row
v1.6.1 (2023-01-30)
Fixed alert banner z-index issue
v1.6.0 (2023-01-29) "The Filter Match Highlighting Update"
Added new Filter Match Highlighting feature that is enabled by default, but can be disabled with the
enableFilterMatchHighlighting
propAdded import for the
MRT_EditActionButtons
component for better custom row actionsCleaned up Toolbar DropZone styling
v1.5.12 (2023-01-27)
Fixed issue with table body cell "center" and "right" alignment when layoutMode="grid" or virtualization is enabled
v1.5.11 (2023-01-27)
Upgraded to latest TanStack Table v8.7.8 for various bug fixes relating to null values in data
Added da translations that can be imported from
'material-react-table/locales/da'
v1.5.10 (2023-01-23)
Fixed small resize handle drift issue when resizing columns
Adjust TableFooterRow background color to match TableHeadRow background color by default
v1.5.9 (2023-01-15)
Added table border-collapse 'separate' to fix row borders not showing in Firefox
v1.5.8 (2023-01-12)
Added imports for bottom and top toolbar components for custom toolbar rendering
v1.5.7 (2023-01-10)
Fixed issue with memoized rows not sorting correctly with row virtualization enabled
Fixed issue with exiting full screen causing virtualized rows to disappear
v1.5.6 (2023-01-10)
Freeze TanStack Virtual version to beta 30
v1.5.5 (2023-01-10)
Fixed global filtering with manual pagination when on page 2 or greater
Upgrade to latest TanStack Table v8.7.6 for various bug fixes
v1.5.4 (2022-12-30)
Fixed filter text field value not updating from external state change and fix filter clear icon button being disabled when value is not a string
v1.5.3 (2022-12-29)
Fixed empty and not empty filter chip clearing defaulting back to only available filter modes
v1.5.2 (2022-12-24)
Added new
showToolbarDropZone
state option to allow manual control of when the toolbar drop zone is visible
v1.5.1 (2022-12-23)
Fixed sticky footer z-index issue when using column pinning
Added zh-Hans and zh-Hant translations that can be imported from
'material-react-table/locales/zh-Hans'
and'material-react-table/locales/zh-Hant'
respectively
v1.5.0 (2022-12-20) "The Column Virtualization Upgrade"
New column virtualization feature that can be enabled with the
enableColumnVirtualization
prop and customized with thecolumnVirtualizationProps
andcolumnVirtualizerInstanceRef
propsDeprecated (renamed)
virtualizerInstanceRef
prop in favor ofrowVirtualizerInstanceRef
Deprecated (renamed)
virtualizationProps
prop in favor ofrowVirtualizationProps
Fixed crashes with empty nested data and initial filter, sorting, grouping, and pagination states
v1.4.3 (2022-12-15)
Fixed MUI debounce import when
@mui/material v5.11.0
is installedFixed select placeholder when muiTableBodyCellEditTextFieldProps.placeholder is set
v1.4.2 (2022-12-11)
Fixed custom
muiTableBodyProps.children
not being renderedGive TableBody a default minHeight of 100px when no rows are present
v1.4.1 (2022-12-11)
Fixed row virtualization with detail panels to make it usable
Added classNames to Detail Panel Rows and Cells to make them easier to target with CSS
Lowered default row virtualization
overscan
default count from10
to4
Added imports for
MRT_ToolbarAlertBanner
andMRT_ToolbarDropZone
components for custom toolbars
v1.4.0 (2022-12-08) "The Row Virtualization Upgrade"
Upgrade to TanStack Virtual v3 for better virtualization performance and bug fixes - (small breaking changes if using advanced virtualized customization features)
New
layoutMode
prop to allow for either"semantic"
or"grid"
(flex) CSS layouts for table componentsNew
onEditingRowCancel
propNew "Collapse" tooltip for all locales on expand buttons when expanded
Clicking filter icon in header now focuses filter textfield
Added nl translations that can be imported from
'material-react-table/locales/nl'
Updated ru translations that can be imported from
'material-react-table/locales/ru'
v1.3.15 (2022-11-24)
Fixed some column hiding menu edge cases
v1.3.14 (2022-11-24)
Added ro translations that can be imported from
'material-react-table/locales/ro'
v1.3.13 (2022-11-23)
Upgraded to latest TanStack Match Sorter Utils 8.7.0 for webpack compatibility fixes and better esm support
v1.3.12 (2022-11-23)
Upgraded to latest TanStack Table 8.7.0 for webpack compatibility fixes and better esm support
v1.3.11 (2022-11-23)
Added vi translations that can be imported from
'material-react-table/locales/vi'
Upgraded to latest TanStack Table 8.6.0 for new
maxLeafRowFilterDepth
prop
v1.3.10 (2022-11-19)
Added fr translations that can be imported from
'material-react-table/locales/fr'
Upgraded to latest TanStack Table 8.5.30 for better TypeScript performance
v1.3.9 (2022-11-14)
Upgraded to latest TanStack Table 8.5.27 for better sorting in grouped rows
v1.3.8 (2022-11-13)
Fixed filter textfield calling clear method on mount which sometimes caused additional data fetches
v1.3.7 (2022-11-12)
Upgraded to latest TanStack Table 8.5.24 to fix
filterFromLeafRows
bug
v1.3.6 (2022-11-10)
Fixed getRowId prop type
v1.3.5 (2022-11-10)
Added tr translations that can be imported from
'material-react-table/locales/tr'
v1.3.4 (2022-11-07)
Emergency fix remove fa as default translations
v1.3.3 (2022-11-06)
Added fa translations that can be imported from
'material-react-table/locales/fa'
v1.3.2 (2022-10-30)
Upgraded to latest TanStack Table v8.5.22 for massive grouping performance improvements
v1.3.1 (2022-10-29)
small optional chaining fix for custom textfileds
it locale fix
Upgraded to latest TanStack Table v8.5.21
v1.3.0 (2022-10-28) "The Multi-Aggregation Update"
Added Multi-Aggregation Per Column Feature
renamed
onFilterFnsChange
toonColumnFilterFnsChange
(breaking change)fixed grouped rows should not show edit text fields when in
"table"
editing modeUpgraded to latest TanStack Table v8.5.18
v1.2.10 (2022-10-17)
Added it translations that can be imported from
'material-react-table/locales/it'
v1.2.9 (2022-10-11)
Allow Sort Icon (ArrowDownward) to be replaced with custom icon
v1.2.8 (2022-10-11)
Fixed some minor spacing issues in Table Head Cell icon buttons
v1.2.7 (2022-10-05)
Fixed select and expand column headers sometimes not showing correctly
v1.2.6 (2022-10-03)
Un-memoized
localization
prop internally to allow for dynamic localization updatesMade Columns Actions Button slightly smaller
v1.2.5 (2022-09-30)
Fixed:
globalFilterFn
prop had wrong type
v1.2.4 (2022-09-30)
Fixed: All Mui imports use default exports to reduce number of modules in dev mode
v1.2.3 (2022-09-30)
Fixed: Icon imports use default exports to reduce number of modules in dev mode
v1.2.2 (2022-09-29)
Disable more display columns and detail panel stuff while
isLoading
is trueFixed overflow issues with expand all button and select all checkbox
v1.2.1 (2022-09-29)
Disable detail panel render while
isLoading
is true
v1.2.0 (2022-09-27) "The Header Cell Update"
New Header default ellipsis behavior when column width is smaller than header string
Column Actions and Column Grab Handles now left-align by default
Column Alignment Improvements when align is
'center'
or'right'
v1.1.1 (2022-09-23)
footer z-index fix during fullscreen mode
bigger resize handle accessibility
v1.1.0 (2022-09-20) "The Memo Update"
New memoMode prop to enable memoizing cells, rows, or the entire table body
Radio Buttons now show instead of checkboxes when enableMultiRowSelection=
Fixed dragging column bottom-border sometimes showing on wrong row
Various Render Performance Improvements
v1.0.11 (2022-09-17)
Fixed Sticky Header with pinned columns in full screen mode
v1.0.10 (2022-09-17)
Added ru translations that can be imported from
'material-react-table/locales/ru'
v1.0.9 (2022-09-17)
Added de translations that can be imported from
'material-react-table/locales/de'
v1.0.8 (2022-09-16)
Update es translations
v1.0.7 (2022-09-15)
Remove unnecessary memo that was causing issues with aggregated cells not updating
v1.0.6 (2022-09-15)
Fixed Actions Column sometimes forced to be first column
v1.0.5 (2022-09-15)
Fixed Mixed Header Groups levels not created with correct column order state
v1.0.4 (2022-09-14)
Added cs translations that can be imported from
'material-react-table/locales/cs'
v1.0.3 (2022-09-14)
Fixed sticky header z-index issue with select checkboxes and expand buttons
Added pl translations that can be imported from
'material-react-table/locales/pl'
v1.0.2 (2022-09-13)
Added es translations that can be imported from
'material-react-table/locales/es'
v1.0.1 (2022-09-13) "The OG Release"
Initial Stable Release
Pre 1.0 breaking changes
v1.0.0-beta.16 -
selectAllMode
default value changed to"page"
v1.0.0-beta.6 -
onColumnDrop
andonRowDrop
props removed, since they can easily be hooked up manually inmuiTableBodyRowCellDragHandleProps
v0.41.0 - Filter start icon will no longer be shown if
enableColumnFilterModes
is not enabledv0.40.7 -
enabledGlobalFilterOptions
renamed toglobalFilterModeOptions
v0.40.2 - new
tableInstanceRef
andvirtualizerInstanceRef
propsv0.39.0 - Renamed
enableColumnFilterChangeMode
toenableColumnFilterModes
, renamedenableGlobalFilterChangeMode
toenableGlobalFilterModes
. NewrenderColumnFilterModeMenuItems
andrenderGlobalFilterModeMenuItems
props.v0.38.3 - New
enableStickyFooter
prop useful for aggregation featuresv0.38.0 - New
GroupedColumn
cell render column def option, newmuiToolbarAlertBannerChipProps
, renamedmuiTableToolbarAlertBannerProps
tomuiToolbarAlertBannerProps
,muiTableTopToolbarProps
tomuiTopToolbarProps
,muiTableBottomToolbarProps
tomuiBottomToolbarProps
v0.37.2 - Aggregation cell renders enabled,
AggregatedCell
needed to render aggregated cell.v0.37.0 - Major Editing Feature Changes:
"modal"
is now the defaulteditingMode
. New requiredexitEditingMode
param inonEditingRowSave
to allow dev to exit editing mode only after validation passes. Fixed auto-filled values not saving in editing row submit.tableId
prop removed as it is now unnecessary and was being confused with an html id attribute. Major internal ref refactors to better follow React best practices and improve performance.v0.36.0 -
onCellEditBlur
andonCellEditChange
props removed because the already exist onmuiTableBodyCellEditTextFieldProps
. Examples given herev0.35.2 - Change
onEditRowSubmit
name toonEditingRowSave
v0.35.1 - "current" prefix in some state options removed from name (i.e.
currentEditingRow
is now justeditingRow
), new editing value(s) arguments, better types for editing featuresv0.34.0 - rolled back to react-virtual 2.0 to fix flickering issue, MRT_Internal Toolbar components are now exported from MRT instead of in params
v0.33.0 -
onTableInstanceChange
removed,onStateChange
removed,currentFilterFns
renamed tocolumnFilterFns
, customfilterFns
can be used again, renamedToolbarBottom
toBottomToolbar
andToolbarTop
toTopToolbar
v0.31.0 - new DropZone component in toolbar for grouping while dragging a column that can be grouped
v0.29.0 - new
filterVariant
option on columnDef to indicate if filter is a select filter, multi-select filter, text filter, etc.v0.28.0 -
virtualizerProps
has slightly differently named options, as MRT upgraded to@tanstack/react-virtual
v3
.v0.27.0 -
enableColumnFilterModes
is now false by default, but can be turned on easily by just setting it to true.v0.23.0 - TanStack Table v8.2 has new
cell.getValue<>()
genericsv0.22.1 -
showColumnFilters
state renamed toshowColumnFilters
v0.22.0 - React DnD replaced with custom solution for drag and drop. Now lib is 16kb smaller!
V0.19.0 - Data Column Definitions now need an
accessorKey
or a combination of anid
andaccessorFn
to be used as the key for the data row.V0.19.0 -
instance
was renamed totable
across all callback functions to be inline with TanStack Table V8.1.V0.18.0 - on...Changed callback props were removed as they were redundant with the on...Change callback props. Hoisting state will be the recommended way to watch for table state changes and react to them.
Roadmap
Version 1 Roadmap (2022-2023)
Most of the features that will ever be added in Version 1 have been added. They will continue to be polished, and bugs will continue to be fixed.
One area of focus, however, will be improving the editing features. There is still some room for improvement and quality of life improvements that can be made.
Another large feature that could be added is a "row pinning" feature. It would allow users to pin rows to the top of the table, and would be useful for things like "favorites" or "pinned" rows. It would work very similarly to the "column pinning" feature that is already in the table.
Version 2 Roadmap (2023)
Version 2 will probably not come out until Material UI v6 is released. It will be developed while Material UI v6 is in alpha, and will be released when Material UI v6 is released.
If you are interested in following along the development of any of these features, be sure to join the Discord