Examples › Empty state
minHeight
If records
property points to an empty array, the DataTable
component will indicate its empty state by displaying a customizable icon and text, like so:
No records
You can modify the displayed text by setting the noRecordsText
property:
No records to show
The icon can also be modified by setting the noRecordsIcon
property:
No records found
If you’re not happy with the standard empty state indicator, you can entirely replace it by setting the emptyState
property:
No data found...
Head over to the next example to discover more features.