dotnetcore/BootstrapBlazor

feat(Table): Add LoadingTemplate support

Closed this issue · 1 comments

Feature Request

Description

To enhance the user experience during data fetching or processing times, it would be beneficial to add a LoadingTemplate feature to the Table component. This template should display a customizable loading indicator or placeholder content while the data is being loaded or processed.

Proposed Behavior

When the Table component is in a loading state (e.g., data is being fetched from an API), the LoadingTemplate should be displayed. This template could be a spinner, a skeleton screen, or any custom Razor/HTML provided by the user.

Use Cases

  • When the table is waiting for data to load from an API, instead of showing an empty table or a static loading message, the LoadingTemplate can provide a dynamic and visually appealing loading state.
  • In cases where data processing or filtering takes a noticeable amount of time, this template can be used to improve the perceived performance of the application.

@azlis Thank you for contacting us. We will give feedback later.