QuickSearchState
Quick Search section of Adaptable State, including Initial State.
QuickSearchText is the search restored at startup. CellMatchStyle highlights matching cells. TextMatchStyle and CurrentTextMatchStyle highlight the matching text inside a cell; those two styles are not available with the Server-Side Row Model.
export interface QuickSearchState extendsExtends
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| CellMatchStyle | Omit<AdaptableStyle, 'ClassName'> | Style used to highlight matching cells | |
| CurrentTextMatchStyle | Omit<AdaptableStyle, 'ClassName'> | Style used to highlight the current match within a cell (not available with the Server-Side Row Model) | var(--ab-color-quick-search-current-match) background, var(--ab-color-quick-search-current-match-foreground) text, bold |
| QuickSearchText | string | Last Quick Search that was run (and will be applied at start-up) | |
| TextMatchStyle | Omit<AdaptableStyle, 'ClassName'> | Style used to highlight matching text within a cell (not available with the Server-Side Row Model) | var(--ab-color-quick-search-match) background and var(--ab-color-quick-search-match-foreground) text |
Property Details
CellMatchStyle
Style used to highlight matching cells
CellMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;Property Value
Omit<AdaptableStyle, 'ClassName'>
CurrentTextMatchStyle
Style used to highlight the current match within a cell (not available with the Server-Side Row Model)
CurrentTextMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;Default Value
var(--ab-color-quick-search-current-match) background, var(--ab-color-quick-search-current-match-foreground) text, bold
Property Value
Omit<AdaptableStyle, 'ClassName'>
QuickSearchText
Last Quick Search that was run (and will be applied at start-up)
QuickSearchText?: string;Property Value
string
TextMatchStyle
Style used to highlight matching text within a cell (not available with the Server-Side Row Model)
TextMatchStyle?: Omit<AdaptableStyle, 'ClassName'>;Default Value
var(--ab-color-quick-search-match) background and var(--ab-color-quick-search-match-foreground) text
Property Value
Omit<AdaptableStyle, 'ClassName'>