@mui/x-data-grid
Advanced tools
Changelog
7.8.0
Jun 28, 2024
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
🛰 Introduce server-side data source for improved server integration in the Data Grid.
Supports server-side pagination, sorting and filtering on plain and tree data, and automatic caching.
To enable, provide a getRows
function to the unstable_dataSource
prop on the Data Grid component.
const dataSource = {
getRows: async (params: GridServerGetRowsParams) => {
const data = await fetch(
`https://api.example.com/data?${new URLSearchParams({
page: params.page,
pageSize: params.pageSize,
sortModel: JSON.stringify(params.sortModel),
filterModel: JSON.stringify(params.filterModel),
}).toString()}`,
);
return {
rows: data.rows,
totalRows: data.totalRows,
};
},
}
<DataGridPro
unstable_dataSource={dataSource}
{...otherProps}
/>
See server-side data documentation for more details.
📈 Support Date data on the BarChart component
↕️ Support custom column sort icons on the Data Grid
🖱️ Support modifying the expansion trigger on the Tree View components
Changelog
7.7.1
Jun 21, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.7.0
Jun 13, 2024
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.6.2
Jun 6, 2024
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.6.1
May 31, 2024
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
🐞 Address the @mui/internal-test-utils
added as a direct dependency to @mui/x-data-grid
by mistake.
Changelog
7.6.0
May 30, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.5.1
May 23, 2024
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
label
to be displayed in BarChart