Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataGridPremium] Make cell selection feature stable #11246

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Nov 29, 2023

Part of #10556

TODOs:

  • Add the change to the migration guide and changelog
  • Add a codemod to rename the existing API (follow-up PR)

Changelog

Breaking changes

  • The cell selection feature is now stable.

  • The unstable_ prefix has been removed from the cell selection props listed below.

    Old name New name
    unstable_cellSelection cellSelection
    unstable_cellSelectionModel cellSelectionModel
    unstable_onCellSelectionModelChange onCellSelectionModelChange
  • The unstable_ prefix has been removed from the cell selection API methods listed below.

    Old name New name
    unstable_getCellSelectionModel getCellSelectionModel
    unstable_getSelectedCellsAsArray getSelectedCellsAsArray
    unstable_isCellSelected isCellSelected
    unstable_selectCellRange selectCellRange
    unstable_setCellSelectionModel setCellSelectionModel

@MBilalShafi MBilalShafi added breaking change component: data grid This is the name of the generic UI component, not the React module! v7.x feature: Cell Selection Related to the cell selection feature labels Nov 29, 2023
@mui-bot
Copy link

mui-bot commented Nov 29, 2023

@MBilalShafi MBilalShafi mentioned this pull request Nov 29, 2023
45 tasks
Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MBilalShafi MBilalShafi merged commit 26ad59a into mui:next Nov 30, 2023
@MBilalShafi MBilalShafi deleted the breaking-changes/cell-selection branch November 30, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: data grid This is the name of the generic UI component, not the React module! feature: Cell Selection Related to the cell selection feature v7.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants