[data grid] Remove publicly deprecated APIs #5602
Labels
breaking change
component: data grid
This is the name of the generic UI component, not the React module!
v6.x
Summary
This issue lists all the APIs that are already publicly deprecated in v5.
It branches from #3287 in order to simplify the discussion by removing the issues that were already discussed and are predicted changes.
Columns
Remove the
columnVisibilityChange
eventmui-x/packages/grid/x-data-grid/src/models/events/gridEvents.ts
Lines 332 to 334 in b778028
Remove the
onColumnVisibilityChange
propmui-x/packages/grid/x-data-grid/src/models/props/DataGridProps.ts
Lines 537 to 539 in b778028
Remove
GridColDef['hide']
mui-x/packages/grid/x-data-grid/src/models/colDef/gridColDef.ts
Lines 70 to 75 in b778028
Remove
apiRef.current.updateColumn
(useapiRef.current.updateColumns
)mui-x/packages/grid/x-data-grid/src/models/api/gridColumnApi.ts
Lines 48 to 50 in b778028
Stop exporting the root selector
gridColumnsSelector
(avoid making the wholestate.columns
public)mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 12 in b778028
Delete deprecated selectors
allGridColumnsFieldsSelector
,allGridColumnsSelector
,visibleGridColumnsSelector
,filterableGridColumnsSelector
,filterableGridColumnsIdsSelector
,visibleGridColumnsLengthSelector
,gridColumnsMetaSelector
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 136 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 146 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 156 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 169 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 182 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 202 in b778028
mui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsSelector.ts
Line 215 in b778028
Stop exporting
getGridColDef
utility functionmui-x/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsUtils.ts
Line 294 in b778028
Remove
GridRenderCellParams['api']
,GridRenderEditCellParams['api']
,GridValueGetterParams['api']
andGridValueFormatterParams['api']
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Line 77 in b778028
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Line 96 in b778028
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Line 108 in b778028
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Line 154 in b778028
Remove
GridValueGetterFullParams
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Lines 112 to 114 in b778028
Rows
getValue
property fromGridRowParams
andGridCellParams
mui-x/packages/grid/x-data-grid/src/models/params/gridRowParams.ts
Line 27 in b778028
mui-x/packages/grid/x-data-grid/src/models/params/gridCellParams.ts
Line 61 in b778028
Filtering
Delete the
gridVisibleRowsSelector
selector (replaced bygridVisibleSortedRowIdsSelector
)mui-x/packages/grid/x-data-grid/src/hooks/features/filter/gridFilterSelector.ts
Line 99 in b778028
Remove
getGridNumericColumnOperators
mui-x/packages/grid/x-data-grid/src/colDef/gridNumericOperators.ts
Lines 158 to 160 in b778028
Sorting
GridSortCellParams['api']
mui-x/packages/grid/x-data-grid/src/models/gridSortModel.ts
Line 14 in b778028
General
apiRef
topicsRemove
GridApiRef
mui-x/packages/grid/x-data-grid/src/index.ts
Lines 37 to 40 in b778028
mui-x/packages/grid/x-data-grid-pro/src/typeOverloads/reexports.ts
Lines 14 to 17 in b778028
Remove
useGridApi
mui-x/packages/grid/x-data-grid/src/hooks/utils/useGridApi.ts
Lines 11 to 13 in b778028
Remove
useGridState
mui-x/packages/grid/x-data-grid/src/hooks/utils/useGridState.ts
Lines 15 to 17 in b778028
The text was updated successfully, but these errors were encountered: