# FilterConditionInput (@salmonui/data-grid/engine)

> The FilterConditionInput type of @salmonui/data-grid/engine: JSON form of a filter condition in command payloads; omitted fields take defaults (predicate: 'and', source: 'api').

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/FilterConditionInput

```ts
import type { FilterConditionInput } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/filter`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: type

```ts
type FilterConditionInput = {
    kind?: 'condition';
    columnId: ColumnId;
    operator: string;
    value?: Json;
    predicate?: 'and' | 'or';
    matchCase?: boolean;
    ignoreAccent?: boolean;
    source?: FilterSource;
};
```

JSON form of a filter condition in command payloads; omitted fields take defaults (`predicate: 'and'`, `source: 'api'`).

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `kind?: 'condition';` | optional |  |
| `columnId` | `columnId: ColumnId;` |  |  |
| `operator` | `operator: string;` |  |  |
| `value` | `value?: Json;` | optional |  |
| `predicate` | `predicate?: 'and' \| 'or';` | optional |  |
| `matchCase` | `matchCase?: boolean;` | optional |  |
| `ignoreAccent` | `ignoreAccent?: boolean;` | optional |  |
| `source` | `source?: FilterSource;` | optional |  |
