Skip to content

[DataGrid] migrate from deprecated Material UI APIs#21682

Open
siriwatknp wants to merge 3 commits intomui:masterfrom
siriwatknp:issue-21661
Open

[DataGrid] migrate from deprecated Material UI APIs#21682
siriwatknp wants to merge 3 commits intomui:masterfrom
siriwatknp:issue-21661

Conversation

@siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Mar 10, 2026

closes #21661

Tests added to ensure slotProps overrides


- Slider: components → slots
- BaseTextField: inputProps/InputProps/InputLabelProps → slotProps
- BaseCheckbox: inputProps → slotProps.input
- BaseSelect MenuProps: PaperProps → slotProps.paper
- BaseAutocomplete renderInput: merge slotProps from textField and baseTextField
- transformInputProps: inputProps → slotProps.input
- Add materialSlots.DataGrid.test.tsx
@siriwatknp siriwatknp added scope: data grid Changes related to the data grid. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Mar 10, 2026
@mui-bot
Copy link

mui-bot commented Mar 10, 2026

Deploy preview: https://deploy-preview-21682--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 🔺+222B(+0.05%) 🔺+79B(+0.06%)
@mui/x-data-grid-pro 🔺+222B(+0.04%) 🔺+83B(+0.05%)
@mui/x-data-grid-premium 🔺+222B(+0.03%) 🔺+80B(+0.04%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 42e489b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: data grid Changes related to the data grid. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. v9.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[data grid] Phase 2: Migrate Data Grid + generator from deprecated APIs

2 participants