Missing functions {setRow, setRowModesModel}
from GridToolbarProps TypeScript definition
#15993
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
status: waiting for author
Issue with insufficient information
Steps to reproduce
Steps:
mui-x/docs/data/data-grid/editing/FullFeaturedCrudGrid.tsx
Lines 73 to 80 in 4a649f2
Current behavior
GridToolbarProps is missing these two functions. If there's a reason the interface doesn't have them, it's not documented.
Expected behavior
I would expect to not have to declare these types myself. I would assume we should be able to add these to GridToolbarProps and remove the unnecessary complication of needing to have users extend the declaration.
Context
I'm trying to upgrade to v7 and encountered this as a typescript error and had to search through the docs thinking I was doing something wrong.
Your environment
npx @mui/envinfo
Search keywords: data-grid
Order ID:
The text was updated successfully, but these errors were encountered: