Skip to content

v1.3.0: Refactor: Enhance table options and loading UI

Choose a tag to compare

@dufacoga dufacoga released this 03 Jul 22:05
· 24 commits to master since this release
This commit introduces the following changes to the MaterialDataTableC component:

- Added `editOption` and `deleteOption` boolean parameters to conditionally render edit and delete action buttons for each row.
- Dynamically calculates the width of the options column based on whether edit, delete, or both options are enabled.
- Adjusted the loading indicator's height to match the table height (`.height(height)`) instead of filling the entire available space (`.fillMaxSize()`), providing a more constrained loading view.

These changes allow for greater flexibility in displaying row actions and improve the visual presentation of the loading state.