# quickFilterMode

Combines terms with and, requiring all matches, or or, requiring any match.

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

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

## What does this API do?

Combines terms with and, requiring all matches, or or, requiring any match.

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

## Exact input and result types

```typescript
quickFilterMode: 'and' | 'or'
```

| Item | Value |
| --- | --- |
| JavaScript name | quickFilterMode |
| HTML attribute | quick-filter-mode |
| Default | 'and' |
| Input type | 'and' \| 'or' |

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

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the quick-filter-mode 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

- [Search across columns](https://grid.syidax.com/docs/features/quick-filter.md) — Quick search looks for text across searchable columns without specifying a column. It is a useful starting point when users do not know whether a term is a product name or a region.
