API reference: @salmonui/data-grid/engine
SearchSetCommandtype
import type { SearchSetCommand } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/search.
type SearchSetCommand = {
type: 'search.set';
text: string;
columnIds?: ColumnId[] | 'all';
operator?: SearchOperator;
ignoreCase?: boolean;
ignoreAccent?: boolean;
};
search(text); omitted settings keep their current values.
| Name | Signature | Description |
|---|---|---|
type | type: 'search.set'; | |
text | text: string; | |
columnIdsoptional | columnIds?: ColumnId[] | 'all'; | |
operatoroptional | operator?: SearchOperator; | |
ignoreCaseoptional | ignoreCase?: boolean; | |
ignoreAccentoptional | ignoreAccent?: boolean; |