-
Notifications
You must be signed in to change notification settings - Fork 55
Change texts
Robert Hjalmers edited this page May 29, 2018
·
3 revisions
Override texts by passing a new object using gtTexts
input.
Available texts:
Key | Description | Default |
---|---|---|
loading | Text displayed when table rows are loading data (lazy loading only) | Loading... |
noData | Text displayed when table contains no data | No data |
noMatchingData | Text displayed when table search/filter has no matches | No data matching results found |
noVisibleColumnsHeading | Table heading displayed when no columns are visible | No visible columns |
noVisibleColumns | Table content displayed when no columns are visible | Please select at least one column to be visible. |
tableInfo | Text displayed in table info component when neither search nor filter has been applied | Showing #recordFrom to #recordTo of #recordsAfterSearch entries. |
tableInfoAfterSearch | Text displayed in table info component when search or filter has been applied | Showing,#recordFrom to #recordTo of #recordsAfterSearch entries (filtered from a total of #recordsAll entries). |
csvDownload | File name for CSV export (.csv is added by default) | download |
sortLabel | Text for sort label shown when tables columns are stacked | Sort: |
paginateNext | Text used by screen readers for going to next page | Next page |
paginatePrevious | Text used by screen readers for going to previous page | Previous page |
inlineEditEdited | Text that appears when cell value has changed using inline edit | Press enter to save |
Usage:
<generic-table ... [gtTexts]="{loading:'Loading data...'}"></generic-table>