github mui/mui-x v5.0.0-beta.2

latest releases: v7.5.0, v6.19.12, v7.4.0...
pre-release2 years ago

Sep 24, 2021

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

@mui/x-data-grid@v5.0.0-beta.2 / @mui/x-data-grid-pro@v5.0.0-beta.2

Breaking changes

  • [DataGrid] The params passed to the valueFormatter were changed. (#2581) @DanailH

    Use the api to get the missing params.
    The GridValueFormatterParams interface has the following signature now:

    -export type GridValueFormatterParams = Omit<GridRenderCellParams, 'formattedValue' | 'isEditable'>;
    +export interface GridValueFormatterParams {
    +  /**
    +   * The column field of the cell that triggered the event
    +   */
    +  field: string;
    +  /**
    +   * The cell value, but if the column has valueGetter, use getValue.
    +   */
    +  value: GridCellValue;
    +  /**
    +   * GridApi that let you manipulate the grid.
    +   */
    +  api: any;
    +}

Changes

Docs

Core

Don't miss a new mui-x release

NewReleases is sending notifications on new releases.