github mui/mui-x v4.0.0-alpha.33

latest releases: v8.0.0-alpha.0, v7.22.2, v7.22.1...
3 years ago

July 1, 2021

Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

  • 🐞 As a focus of Q2, we have kept fixing bugs

  • 💅 End users are now allowed to copy the selected rows to the clipboard with CTRL + c (#1929) @m4theushw

  • 🐛 We have fixed the Select all checkbox. When triggered, it should only select the filtered rows (#1879) @ZeeshanTamboli

  • ⚡️ We have added a new singleSelect column type (#1956) @DanailH

    Using the column type: 'singleSelect' defaults to Select component when the cell is in edit mode. You can find the documentation following this link.

    <DataGrid
      columns={[
        {
          field: 'country',
          type: 'singleSelect',
          valueOptions: ['France', 'Netherlands', 'Brazil'],
          editable: true,
        }
      ]}
      rows={[
        { id: 0, country: 'France' },
        { id: 1, country: 'Netherlands' },
        { id: 2, country: 'Brazil' },
      ]}
    />

@material-ui/x-grid@v4.0.0-alpha.33 / @material-ui/data-grid@v4.0.0-alpha.33

Breaking changes

  • [DataGrid] Rename onColumnResizeCommitted to onColumnWidthChange (#1967) @m4theushw

    -<DataGrid onColumnResizeCommitted={...} />
    +<DataGrid onColumnWidthChange={...} />
  • [DataGrid] Make GRID_ROWS_CLEAR private (#1925) @oliviertassinari

    The rowsCleared event was always triggered alongside rowsSet. You can listen to the latter event only.

  • [DataGrid] Fix events naming (#1862) @m4theushw

    The following XGrid events were renamed:

    • columnHeaderNavigationKeydown to columnHeaderNavigationKeyDown
    • columnResizeCommitted to columnWidthChange
    • rowsUpdated to rowsUpdate
    • columnsUpdated to columnsChange

    The following XGrid DOM events were removed:

    • focusout
    • keydown
    • keyup

Changes

Docs

Core

Don't miss a new mui-x release

NewReleases is sending notifications on new releases.