Description of the enhancement:
The fw-data-table component is a crucial part of our application's UI, providing users with a dynamic and interactive way to view datasets. However, we've identified a user experience enhancement that could significantly improve how our application handles scenarios where the DataTable has no data to display.
Currently, when the fw-data-table is empty (i.e., when there are no records to display), it simply shows a blank space without any message or indication to the user that the data is intentionally empty and not due to an error or loading state. This can lead to confusion and a less intuitive user experience.
Describe the solution you'd like
We propose adding an "empty result" state to the fw-data-table component. This state would display a customizable message (and optionally an icon) when there are no records to show. This message should be friendly and informative, guiding users on what to do next or explaining why there's no data.
Example

Description of the enhancement:
The
fw-data-tablecomponent is a crucial part of our application's UI, providing users with a dynamic and interactive way to view datasets. However, we've identified a user experience enhancement that could significantly improve how our application handles scenarios where the DataTable has no data to display.Currently, when the
fw-data-tableis empty (i.e., when there are no records to display), it simply shows a blank space without any message or indication to the user that the data is intentionally empty and not due to an error or loading state. This can lead to confusion and a less intuitive user experience.Describe the solution you'd like
We propose adding an "empty result" state to the
fw-data-tablecomponent. This state would display a customizable message (and optionally an icon) when there are no records to show. This message should be friendly and informative, guiding users on what to do next or explaining why there's no data.Example