Changelog History
Page 9
-
v4.0.0-alpha.19 Changes
- [DataGrid] Add component slots for toolbar and preference panel (#971) @DanailH
- [DataGrid] Add getRowId prop (#972) @dtassone
- [DataGrid] Add streaming delete row api (#980) @dtassone
- [DataGrid] Fix autoHeight (#940) @oliviertassinari
- [DataGrid] Fix column reorder instability (#950) @dtassone
- [DataGrid] Fix footer visual regression (#932) @dtassone
- [DataGrid] Fix strict mode issue with apiRef (#933) @dtassone
- [DataGrid] Work on the accessibility of the column menu (#900) @zj9495
- [DataGrid] Fix timing guarentee (#981) @oliviertassinari
- [DataGrid] Fix unstable footer height (#937) @oliviertassinari
- [DataGrid] Fix usage of the prop-types API (#955) @oliviertassinari
- [DataGrid] Fix duplicate aria-label (#953) @oliviertassinari
-
v4.0.0-alpha.18 Changes
π₯ Breaking changes
π» [DataGrid] Implement customization pattern of Material-UI v5 (#851, #879) @dtassone
- Capitalize the keys of the
components
prop. This change aims to bring consistency with the customization pattern of Material-UI v5:
- Capitalize the keys of the
<DataGrid components={{ - noRowsOverlay: CustomNoRowsOverlay, + NoRowOverlay: CustomNoRowsOverlay, }} />
- Move all the icon components overrides in the
components
prop. And added the suffix 'Icon' on each icon component. This change aims to bring consistency with the customization pattern of Material-UI v5:
<DataGrid - icons: {{ - ColumnSortedAscending: SortedAscending, - }}, + components={{ + ColumnSortedAscendingIcon: SortedAscending, + }} />
- Change the props provided to the component of the
components
prop. Expose the whole state instead of an arbitrary set of props:
-function CustomPagination(props: ComponentProps) { - const { pagination, api } = props; +function CustomPagination(props: BaseComponentProps) { + const { state, api } = props; return ( <Pagination - page={pagination.page} - count={pagination.pageCount} + page={state.pagination.page} + count={state.pagination.pageCount} // ... <DataGrid components={{ Pagination: CustomPagination }} />
π Changes
- [DataGrid] Add customisation on panels (#890) @dtassone
- π» [DataGrid] Add support for Material-UI v5-alpha (#855) @DanailH
- [DataGrid] Fix footer count not shown on small screen (#899) @mnajdova
- [DataGrid] Fix column selector crash when hiding columns (#875) @DanailH
- [DataGrid] Fix Shift + Space keyboard regression to select row (#897) @dtassone
-
v4.0.0-alpha.17 Changes
Jan 14, 2021
π Big thanks to the 4 contributors who made this release possible. Here are some highlights β¨:
- π π Add support for Column selector (#837) @DanailH @dtassone. The feature can be triggered from the toolbar or the column menu. Check the documentation.
- π π A focus on fixing regressions from previous releases refactoring and bugs.
-
v4.0.0-alpha.15 Changes
Jan 7, 2021
π Big thanks to the 2 contributors who made this release possible. Here are some highlights β¨:
- β‘οΈ π Update peer dependencies for React 17 (#814) @DanailH
- π Fix keyboard event collisions inside DataGrid cells (#794) @DanailH
-
v4.0.0-alpha.14 Changes
Dec 31, 2020
π Big thanks to the 5 contributors who made this release possible. Here are some highlights β¨:
- π π Add support for internationalization (#718) @DanailH
You can use the
localeText
prop to provide custom wordings in the data grid. Check the documentation for a demo.- π Start documenting the filtering feature π§ͺ (#754) @dtassone
The work in progress filtering feature and documentation can be found following this link. Early feedback are welcome.
-
v4.0.0-alpha.13 Changes
Dec 16, 2020
π Big thanks to the 4 contributors who made this release possible. Here are some highlights β¨:
- π π Fix bugs from recently released features.
- π π§ͺ Continue the iteration on the data grid filtering feature, soon to be released @dtassone.
-
v4.0.0-alpha.12 Changes
π Changes
- [DataGrid] Add Density selector (#606) @DanailH
- [DataGrid] Fix swallowing of keyboard events (#673) @DanailH
- [DataGrid] Fix collision with react-virtualized on detectElementResize (#678) @tifosiblack
- [DataGrid] Fix component name, rm context, refact gridComponent (#707) @dtassone
- π [DataGrid] Fix infinite loop with multiple grid, and fix performance (#679) @dtassone
- [DataGrid] Fix keyboard navigation in column picker (#674) @oliviertassinari
- [DataGrid] Fix server-side sorting (#704) @akandels
- [DataGrid] Improve the DX of popups (#686) @oliviertassinari
- π¨ [DataGrid] Refactor cols (#682) @dtassone
- [DataGrid] Rename hideToolbar prop to showToolbar (#706) @DanailH
- [DataGrid] Prepare server filters (#649) @dtassone
- [DataGrid] Fix display of selected rows in footer (#676) @oliviertassinari
-
v4.0.0-alpha.11 Changes
π₯ Breaking changes
- π¨ [XGrid] Rows refactoring, flatten RowModel, remove RowData (#668) @dtassone
These changes simplify the API and avoid confusion between
RowData
andRowModel
. Now we only have RowModel which is a flat object containing an id and the row data. It is the same object as the items of therows
prop array.The API to change update the rows using apiRef has changed:
-apiRef.current.updateRowData() +apiRef.current.updateRows()
-apiRef.current.setRowModels() +apiRef.current.setRows()
apiRef.current.updateRowModels
has been removed, please useapiRef.current.updateRows
.π Changes
- [DataGrid] Fix server-side pagination (#639) @dtassone
- [DataGrid] Fix flex columns not taking into account "checkboxSelection" prop @DanailH
- π [DataGrid] First iteration on filtering, basic support (#411) @dtassone
- [DataGrid] Improve filters (#635) @dtassone
- [DataGrid] Fix filters on rendering new rows (#642) @dtassone
- [DataGrid] Fix filters flex-shrink (#664) @oliviertassinari
-
v4.0.0-alpha.10 Changes
- π [DataGrid] Add fluid columns width support (#566) @DanailH
- 0οΈβ£ [DataGrid] Default toolbar setup (#574) @DanailH
- [DataGrid] Fix autoHeight computation for custom headers and footers (#597) @DanailH
- [DataGrid] Fix type definitions (#596) @tooppaaa
- [DataGrid] Reset sortedRows state on prop change (#599) @dtassone
-
v4.0.0-alpha.1 Changes
- [DataGrid] Add api pages for data-grid and x-grid (#289) @dtassone
- [DataGrid] Add dark mode scrollbar (#282) @dtassone
- π [DataGrid] Better explain the limits of MIT vs commercial (#225) @oliviertassinari
- [DataGrid] First v4 alpha version (#291) @dtassone
- [DataGrid] Fix CSS footer spacing (#268) @oliviertassinari
- [DataGrid] Fix checkbox selection issue (#285) @dtassone
- [DataGrid] Fix disableMultipleSelection (#286) @dtassone
- [DataGrid] Fix issue #254, focus cell fully visible (#256) @dtassone
- [DataGrid] Fix issues with path and import (#259) @dtassone
- [DataGrid] Fix setPage not working (#284) @dtassone
- π [DataGrid] Move column resizing to XGrid only (#257) @dtassone
- π [DataGrid] Remove apiRef in DataGrid, a XGrid only feature (#290) @dtassone
- π [DataGrid] Replace style-components with @material-ui/styles (#168) @dtassone