Skip to content

v5.2.0

Compare
Choose a tag to compare
@DanailH DanailH released this 09 Dec 17:11
· 4718 commits to master since this release

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