Releases: KevinVandy/material-react-table
Releases · KevinVandy/material-react-table
v2.8.0
What's Changed
- Removed internal display column def memoization that caused edge cases with enabling and disabling features conditionally. (like
enableRowActions
andenableEditing
, 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 whenlayoutMode: 'grid-no-grow'
is enabled, or to force a column to not grow whenlayoutMode: 'grid'
is enabled andgrow: false
is set.mrt-row-select
,mrt-row-drag
,mrt-row-pin
, andmrt-row-number
columns are now set togrow: false
by default now.mrt-row-expand
column is also set togrow: false
if only detail panels are enabled.mrt-row-expand
is now set to asize: 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
- @andreimatei made their first contribution in #947
Full Changelog: v2.7.0...v2.8.0
v2.7.0
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
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
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)
- Fix typo in about.mdx by @imnasnainaec in #933
New Contributors
- @imnasnainaec made their first contribution in #933
Full Changelog: v2.5.2...v2.6.0
v2.5.2
What's Changed
- fix: date and time pickers on mobile screen sizes by @chmelevskij in #930
New Contributors
- @chmelevskij made their first contribution in #930
Full Changelog: v2.5.1...v2.5.2
v2.5.1
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
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
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
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
andMRT_RowVirtualizer
types - Added behavior to not render Save Row button unless either
onCreatingRowSave
oronEditingRowSave
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
- @Rishi556 made their first contribution in #907
- @Nir-Cohen made their first contribution in #912
- @noam3127 made their first contribution in #905
Full Changelog: v2.3.1...v2.4.0
v2.3.1
What's Changed
- Fix warning virtualIndex in MRT_TableBodyCell by @dangkhoa99 in #900
- Fix row selection with mrt-row-create by @dangkhoa99 in #902
Full Changelog: v2.3.0...v2.3.1