API reference: @salmonui/data-grid/engine
FilterConditionInputtype
import type { FilterConditionInput } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/filter.
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').
| Name | Signature | Description |
|---|---|---|
kindoptional | kind?: 'condition'; | |
columnId | columnId: ColumnId; | |
operator | operator: string; | |
valueoptional | value?: Json; | |
predicateoptional | predicate?: 'and' | 'or'; | |
matchCaseoptional | matchCase?: boolean; | |
ignoreAccentoptional | ignoreAccent?: boolean; | |
sourceoptional | source?: FilterSource; |