Loading Overlay
Shows how the grid displays a loading overlay while data is being fetched, controlled by a declarative loading flag or by imperative API calls. Existing rows can optionally remain visible underneath with reduced emphasis, so refreshes do not blank the screen.
Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid with 20 rows and loading=false.
Expected behavior
Turning loading on shows a spinner with the message. In 'replace' mode the rows are hidden. In 'dim' mode the rows stay visible but are inert. Turning loading off restores normal interaction.
Planned API surface
loadingoverlayLoadingTextloadingOverlayMode ('replace'|'dim')api.setLoadingonOverlayChangedAcceptance criteria
- loading=true shows the loading overlay regardless of row count (pending)
- In dim mode, existing rows remain rendered and cannot be edited (pending)
- Turning loading off restores the previous scroll position and focus (pending)
- The spinner respects prefers-reduced-motion by switching to a static indicator (pending)
- onOverlayChanged reports 'loading' (pending)