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

[DataGrid] Add showToolbar prop to enable default toolbar #16687

Merged
merged 9 commits into from
Feb 24, 2025

Conversation

KenanYusuf
Copy link
Member

@KenanYusuf KenanYusuf commented Feb 21, 2025

Part of #15823

Changelog

Breaking changes

  • The showToolbar prop is now required to display the toolbar.

    It is no longer necessary to pass GridToolbar as a slot to display the default toolbar.

     <DataGrid
    +  showToolbar
    -  slots={{
    -    toolbar: GridToolbar,
    -  }}
     />

@KenanYusuf KenanYusuf added breaking change component: data grid This is the name of the generic UI component, not the React module! v8.x labels Feb 21, 2025
@KenanYusuf KenanYusuf requested a review from a team February 24, 2025 10:11
@KenanYusuf KenanYusuf merged commit 724a963 into mui:master Feb 24, 2025
18 checks passed
@KenanYusuf KenanYusuf deleted the show-toolbar-prop branch February 24, 2025 11:07
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! v8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants