the table host; the overlay is appended to it
DOM access of the table
Optional overlayOptions: Partial<OverlayOptionsIf>Optional requestUpdate: (() => void) = ...called when the requested overlay changed (API call, end of the delay); the table answers with update
Readonly contentThe content box, centered in the overlay (.ge-table-overlay-content).
Readonly elementThe overlay element (.ge-table-overlay).
Readonly optionsThe overlay that is shown now.
true while a loading overlay blocks mouse and keyboard (OverlayOptionsIf.blockInteractionWhileLoading).
true for a mouse event on a blocking loading overlay: the table ignores it (click, double click, mouse down,
context menu, hover). The event is not stopped – page handlers (e.g. "click outside closes the menu") see it.
a mouse event that reached the host
the table must not react to it
Requests the loading overlay (after OverlayOptionsIf.loadingDelayInMs).
Optional text: stringtext for this overlay, default OverlayOptionsIf.loadingText
Requests the "no rows" overlay, also over rows and with OverlayOptionsIf.autoNoRows false.
Optional text: stringtext for this overlay, default OverlayOptionsIf.noRowsText
Shows the overlay that fits the body: a requested one, else "no matching rows" / "no rows to show" for an empty body. Changes the DOM only if the result differs from what is shown.
getRowCount() of the body
Optional unfilteredRowCount: numbergetUnfilteredRowCount() of the body (only needed for 0 rows)
the change, undefined if nothing changed
The overlay layer over the table body: "Loading…" with a CSS spinner, "No rows to show", "No matching rows". One element per table (
.ge-table-overlay, a child of the host,aria-hidden– the table announces the texts through its live region instead). It is created once and only changed when the shown overlay changes, so scrolling costs one comparison per frame.Apps use it through TableApi.showLoadingOverlay, TableApi.showNoRowsOverlay, TableApi.hideOverlay and TableApi.getOverlayState; texts and behaviour come from TableOptionsIf.overlayOptions.
Example
Since
1.1.92