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 -
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. 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
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 -
showFilters
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
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.