# noMatchesMessage

Message displayed when data exists but no rows match current search or filters.

Canonical: https://grid.syidax.com/docs/options/noMatchesMessage/

<a id="meaning"></a>

## What does this API do?

Message displayed when data exists but no rows match current search or filters.

<a id="contract"></a>

## Exact input and result types

```typescript
noMatchesMessage: string
```

| Item | Value |
| --- | --- |
| JavaScript name | noMatchesMessage |
| HTML attribute | no-matches-message |
| Default | undefined |
| Input type | string |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the no-matches-message attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Loading and empty results](https://grid.syidax.com/docs/features/overlays.md) — Loading and empty-data messages explain why the table has no visible content. Pending requests, no results, and failures are distinct states and should not share one empty screen.
