github mui/mui-x v5.2.0

latest releases: v7.5.0, v6.19.12, v7.4.0...
2 years ago

A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:

@mui/x-data-grid@v5.2.0 / @mui/x-data-grid-pro@v5.2.0

  • 🚀 Introduce the column pinning feature (#2946) @m4theushw

  • 🔥 Add ability to disable export options (#3270) @alexfauquette

    You can disable either export options by setting disableToolbarButton to true.

    <GridToolbarExport csvOptions={{ disableToolbarButton: true }} />
    <GridToolbarExport printOptions={{ disableToolbarButton: true }} />
  • 🙈 Add a new option to hide the amount of descendant on the grouping cells of the Tree Data (#3368) @flaviendelangle

    <DataGridPro
      treeData
      rows={rows}
      columns={columns}
      groupingColDef={{ hideDescendantCount }}
    />
  • ⚠️ Deprecate the getValue param for the valueGetter callback (#3314) @flaviendelangle

    Instead, you can access directly the row in the params

    -valueGetter: (params) => `${params.getValue(params.id, 'firstName') || ''} ${params.getValue(params.id, 'lastName') || ''}`
    +valueGetter: (params) => `${params.row.firstName || ''} ${params.row.lastName || ''}`
  • 📚 Documentation improvements

  • 🐞 Bugfixes

Changes

Core

Docs

Don't miss a new mui-x release

NewReleases is sending notifications on new releases.