[data grid] useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component #13227
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Pagination
Related to the data grid Pagination feature
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
hi just bought the annual premium package of mui-x and followed the instructions on change the import to the new packages
and i get
MUI X: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.
if i delete the slots={{ toolbar: GridToolbar }}
i have no error but i cannot use the tool bar or the pagination
please help
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: DataGridPremium DataGrid
Order ID: 91159
The text was updated successfully, but these errors were encountered: