I have made a custom toolbar
function CustomToolbar() {
return (
<GridToolbarContainer>
<GridToolbarColumnsButton />
<GridToolbarFilterButton />
<GridToolbarDensitySelector />
<GridToolbarExport />
</GridToolbarContainer>
)
}
But I'd like to change the names when displayed, not to be Columns, Filters, Density, Export, is there any solution?
CodePudding user response:
You can change the localeText
prop of DataGrid
/DataGridPro
, see all the translation keys and its default values