table/src/table/table.types.ts
Interface for custom messages/translations used in the Table component. Custom messages will override default messages provided via localize. Use this feature if your app involves multiple instances of Table using different messages per instance. If all Table instances of your app share the same messages, you should provide/customize messages via localization instead.
Note that custom messages can be translated using the $localize tag function (cmp. example below).
protected customMessages: ITableMessages = {
noEntries: $localize`:Table showcase|Custom message "no entries":No data available`,
};<talenra-table ... [customMessages]="customMessages" />import { ITableMessages } from '@talenra/components/table';See TableComponent
Properties |
|
| noEntries |
noEntries:
|
Type : string
|
| Optional |
|
Message displayed if table has no entries. |