A plugin that manages the search state.
Use the following statement to import the plugin:
import { SearchState } from '@devexpress/dx-react-grid';
none
Name | Type | Default | Description |
---|---|---|---|
value? | string | Specifies the applied search value. | |
defaultValue? | string | Specifies the search value initially applied in the uncontrolled mode. | |
onValueChange? | (value: string) => void | Handles search value changes. |
Name | Plugin | Type | Description |
---|---|---|---|
filterExpression | Getter | FilterExpression | Filter | The applied filter expressions. |
columns | Getter | Array<Column> | Grid columns. |
Name | Plugin | Type | Description |
---|---|---|---|
searchValue | Getter | string | The applied search value. |
filterExpression | Getter | FilterExpression | Filter | The applied filter expressions. |
changeSearchValue | Action | ({ value: string }) => void | Fires the onValueChange event with the corresponding value and changes the search value. |