I've been trying to customize the language of the default parameters in my DataGrid
MUI configuration, but I'm encountering an error when attempting to add the localeText
. I have been following the guidelines provided on their website page titled Locale Text.
https://i.stack.imgur.com/JFazr.png
The specific error message I'm receiving is:
https://i.stack.imgur.com/vZHUJ.png
This is how I am implementing the changes (relevant code snippet):
import { DataGrid, esES} from '@mui/x-data-grid';
<DataGrid
localeText={esES.props.MuiDataGrid.localeText}
rows={estudiantes}
columns={columns}
autoPageSize
/>