SYIDAX / DATA GRID

Loading and empty results

Distinguish loading, no data, and no search results.

Get started
Loading and empty resultsSample order data
120 rows
Loading Grid…

Options

Changes below update the Grid and code immediately.

Latest result

This example starts with a Loading orders message. It is not waiting for an actual network request.

View code
Current preview

Usage guide

#

Display status guidance over the table to distinguish loading from empty search results.

Try it yourself

  1. Inspect loading

    This example starts with a Loading orders message. It is not waiting for an actual network request.

  2. Show the order list

    Disable Loading below the table to reveal the prepared sample orders.

  3. Create an empty search result

    Enter a nonexistent term in Order search. Clear it and verify the data returns.

Expected results

Compare loading, regular results, and no search results.

In an app, enable loading when a request starts and clear it on success or failure. Distinguish empty source data from rows hidden by search too.

Useful terms

loading
A setting indicating that data is being awaited.
Overlay
A status guidance area displayed over the table.

API reference

#

Other properties8
Attribute / PropertyType / DefaultDescription
showEmptyState
booleanDefault: trueRender the wrapper empty-state overlay.
emptyMessage
stringDefault: undefinedMessage shown when source row data is empty.
noMatchesMessage
stringDefault: undefinedMessage shown when filters hide every row.
clearFiltersLabel
stringDefault: undefinedLabel for the no-matches clear-filters action.
booleanDefault: falseExternal loading flag for spinner, debounce, and interaction lock.
loadingMessage
stringDefault: undefinedMessage rendered beside the loading spinner.
loadingMode
LoadingModeDefault: 'manual'Loading-mode switch for manual, auto, or host-owned loading UI.
minLoadingDuration
numberDefault: DEFAULT_MIN_LOADING_DURATION_MSMinimum visible duration for the loading spinner in ms.
Events1
EventsDetail typeDescription
GridEmptyStateActionDetailFires when an empty-state overlay action is clicked.