Cheatsheets and messagesMessages
Shown text
Look up the default text that the grid shows the user after a failure.
Most console warnings print only in a development build, and most print once. A word in angle brackets, such as <id>, stands for a value that the grid fills in. A message that ends in ... continues past the text that the table quotes. The tables leave out the backticks that some messages put around prop names.
Text the grid shows
These default labels tell the user about a failure. The labels prop replaces each one.
| Message | When it shows | Page |
|---|---|---|
Could not load rows. | Shows when you pass the error prop. The Retry button runs onRetry. | DataGrid props |
Retry | The button of the error state. | DataGrid props |
No rows | Shows when the view has no rows. | DataGrid props |
clipboard access failed — use <modifier>+C or <modifier>+X | Shows when the browser refuses the clipboard write. The modifier is Ctrl, or ⌘ on Apple platforms. Press the keys instead. | Clipboard |
requires clipboard permission — use <modifier>+V | Shows when the browser refuses the clipboard read. The modifier is Ctrl, or ⌘ on Apple platforms. Press the keys instead. | Clipboard |
Could not load values. | Shows when fetchFilterValues fails in a header filter. | Header filter |
Could not read this file. | Shows when the import cannot parse the file. | Import |
No rows found in this file. | Shows when the file has no data rows. | Import |
Unsupported file type — choose a .csv, .tsv, .xlsx, or .xls file. | Choose a supported file. | Import |
This Excel format can't be imported — save the file as .xlsx and try again. | Save the file as .xlsx. | Import |
A part of this file is too large to read safely. Save a smaller file, or ask the app owner to raise the import limit. | Choose a smaller file, or raise importLimits.maxDecompressedBytes or maxCells. | Import options |
This file is too large to import. | Choose a smaller file, or raise importLimits.maxFileBytes. | Import options |
This file has too many rows or columns to import. | Choose a smaller file, or raise importLimits.maxRows, maxColumns, or maxCells. | Import options |
The import could not be completed. Try again. | Shows when the import fails after the mapping step. | Import |
Import is not available: this grid loads its rows from a server. | Shows as the title of the disabled import button on a server grid without onImport. Pass onImport. | Import |
Import is not available: this grid is read-only. | Shows as the title of the disabled import button on a readOnly grid. | Import |
Saved views could not be loaded. | Shows in the views popover when load fails. The labels prop of DataGridViews replaces it. | Saved views |
Your last change could not be saved. | Shows in the views popover when save fails. The labels prop of DataGridViews replaces it. | Saved views |
<n> rows not saved | The live region reads it when onSave refuses rows. labels.grid.saveRejected replaces it. | Save edits |
Too many groups are open. Close one first. | The live region reads it when a group stays closed because 10,000 groups are open. Close a group, then open the next. labels.grouping.tooManyOpen replaces it. | DataGrid props |
Related
- Message index: all message pages
- Labels and i18n: change the text the grid shows
- Troubleshoot server data: fix a server data problem