# getConditionPresets

Reads saved advanced condition presets.

Canonical: https://grid.syidax.com/docs/methods/getConditionPresets/

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

## What does this API do?

Reads saved advanced condition presets.

API for Pro features: Advanced filter and built-in compound condition editor

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

## Exact input and result types

```typescript
getConditionPresets(): Promise<Array<{ name: string; json: string }>>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<Array<{ name: string; json: string }>>`.

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

## Usage flow

After registering and initializing the Grid element, call grid.getConditionPresets(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

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

## Feature explanations and examples

- [Condition trees](https://grid.syidax.com/docs/features/advanced-filter.md) — Combine conditions across columns in an AND/OR tree to express business rules, such as large APAC orders or orders for a particular product.
