MRT logoMaterial React Table

Changelog

V1

v1.2.0 (2022-09-27)

  • 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)

  • New memoMode prop to enable memoizing cells, rows, or the entire table body

  • Radio Buttons now show instead of checkboxes when enableMultiRowSelection=

  • Fix 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)

  • 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 and onRowDrop props removed, since they can easily be hooked up manually in muiTableBodyRowCellDragHandleProps

  • v0.41.0 - Filter start icon will no longer be shown if enableColumnFilterModes is not enabled

  • v0.40.7 - enabledGlobalFilterOptions renamed to globalFilterModeOptions

  • v0.40.2 - new tableInstanceRef and virtualizerInstanceRef props

  • v0.39.0 - Renamed enableColumnFilterChangeMode to enableColumnFilterModes, renamed enableGlobalFilterChangeMode to enableGlobalFilterModes. New renderColumnFilterModeMenuItems and renderGlobalFilterModeMenuItems props.

  • v0.38.3 - New enableStickyFooter prop useful for aggregation features

  • v0.38.0 - New GroupedColumn cell render column def option, new muiToolbarAlertBannerChipProps, renamed muiTableToolbarAlertBannerProps to muiToolbarAlertBannerProps, muiTableTopToolbarProps to muiTopToolbarProps, muiTableBottomToolbarProps to muiBottomToolbarProps

  • v0.37.2 - Aggregation cell renders enabled, AggregatedCell needed to render aggregated cell.

  • v0.37.0 - Major Editing Feature Changes: "modal" is now the default editingMode. New required exitEditingMode param in onEditingRowSave to allow dev to exit editing mode only after validation passes. Fix 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 and onCellEditChange props removed because the already exist on muiTableBodyCellEditTextFieldProps. Examples given here

  • v0.35.2 - Change onEditRowSubmit name to onEditingRowSave

  • v0.35.1 - "current" prefix in some state options removed from name (i.e. currentEditingRow is now just editingRow), new editing value(s) arguments, better types for editing features

  • v0.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 to columnFilterFns, custom filterFns can be used again, renamed ToolbarBottom to BottomToolbar and ToolbarTop to TopToolbar

  • 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<>() generics

  • v0.22.1 - showFilters state renamed to showColumnFilters

  • 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 an id and accessorFn to be used as the key for the data row.

  • V0.19.0 - instance was renamed to table 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

V1 (2022)

The main focus for additional releases for V1 will be adding more locales and improving the documentation.

V2

No work has started on V2 yet, but the main focus will be to take advantage of React 18 concurrent mode features to improve performance.