Changelog
V1
v1.0.3 (2022-09-13)
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 -
selectAllModedefault value changed to"page"v1.0.0-beta.6 -
onColumnDropandonRowDropprops removed, since they can easily be hooked up manually inmuiTableBodyRowCellDragHandlePropsv0.41.0 - Filter start icon will no longer be shown if
enableColumnFilterModesis not enabledv0.40.7 -
enabledGlobalFilterOptionsrenamed toglobalFilterModeOptionsv0.40.2 - new
tableInstanceRefandvirtualizerInstanceRefpropsv0.39.0 - Renamed
enableColumnFilterChangeModetoenableColumnFilterModes, renamedenableGlobalFilterChangeModetoenableGlobalFilterModes. NewrenderColumnFilterModeMenuItemsandrenderGlobalFilterModeMenuItemsprops.v0.38.3 - New
enableStickyFooterprop useful for aggregation featuresv0.38.0 - New
GroupedColumncell render column def option, newmuiToolbarAlertBannerChipProps, renamedmuiTableToolbarAlertBannerPropstomuiToolbarAlertBannerProps,muiTableTopToolbarPropstomuiTopToolbarProps,muiTableBottomToolbarPropstomuiBottomToolbarPropsv0.37.2 - Aggregation cell renders enabled,
AggregatedCellneeded to render aggregated cell.v0.37.0 - Major Editing Feature Changes:
"modal"is now the defaulteditingMode. New requiredexitEditingModeparam inonEditingRowSaveto allow dev to exit editing mode only after validation passes. Fix auto-filled values not saving in editing row submit.tableIdprop 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 -
onCellEditBlurandonCellEditChangeprops removed because the already exist onmuiTableBodyCellEditTextFieldProps. Examples given herev0.35.2 - Change
onEditRowSubmitname toonEditingRowSavev0.35.1 - "current" prefix in some state options removed from name (i.e.
currentEditingRowis 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 -
onTableInstanceChangeremoved,onStateChangeremoved,currentFilterFnsrenamed tocolumnFilterFns, customfilterFnscan be used again, renamedToolbarBottomtoBottomToolbarandToolbarToptoTopToolbarv0.31.0 - new DropZone component in toolbar for grouping while dragging a column that can be grouped
v0.29.0 - new
filterVariantoption on columnDef to indicate if filter is a select filter, multi-select filter, text filter, etc.v0.28.0 -
virtualizerPropshas slightly differently named options, as MRT upgraded to@tanstack/react-virtualv3.v0.27.0 -
enableColumnFilterModesis 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 -
showFiltersstate renamed toshowColumnFiltersv0.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
accessorKeyor a combination of anidandaccessorFnto be used as the key for the data row.V0.19.0 -
instancewas renamed totableacross 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.