We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If decision to implement MUI DataTable then localization can be done through the options property textLabels.
const options = { ... textLabels: { body: { noMatch: "Sorry, no matching records found", toolTip: "Sort", columnHeaderTooltip: column => Sort for ${column.label} }, pagination: { next: "Next Page", previous: "Previous Page", rowsPerPage: "Rows per page:", displayRows: "of", }, toolbar: { search: "Search", downloadCsv: "Download CSV", print: "Print", viewColumns: "View Columns", filterTable: "Filter Table", }, filter: { all: "All", title: "FILTERS", reset: "RESET", }, viewColumns: { title: "Show Columns", titleAria: "Show/Hide Table Columns", }, selectedRows: { text: "row(s) selected", delete: "Delete", deleteAria: "Delete Selected Rows", }, } ... }
Sort for ${column.label}
The text was updated successfully, but these errors were encountered:
shon-button
No branches or pull requests
If decision to implement MUI DataTable then localization can be done through the options property textLabels.
const options = {
...
textLabels: {
body: {
noMatch: "Sorry, no matching records found",
toolTip: "Sort",
columnHeaderTooltip: column =>
Sort for ${column.label}
},
pagination: {
next: "Next Page",
previous: "Previous Page",
rowsPerPage: "Rows per page:",
displayRows: "of",
},
toolbar: {
search: "Search",
downloadCsv: "Download CSV",
print: "Print",
viewColumns: "View Columns",
filterTable: "Filter Table",
},
filter: {
all: "All",
title: "FILTERS",
reset: "RESET",
},
viewColumns: {
title: "Show Columns",
titleAria: "Show/Hide Table Columns",
},
selectedRows: {
text: "row(s) selected",
delete: "Delete",
deleteAria: "Delete Selected Rows",
},
}
...
}
The text was updated successfully, but these errors were encountered: