API reference: @salmonui/data-grid
DataGridSearchBoxSearchEventinterface
import type { DataGridSearchBoxSearchEvent } from '@salmonui/data-grid';interface DataGridSearchBoxSearchEvent extends DataGridEvent {
readonly text: string;
}
DataGridSearchBox onBeforeSearch (type: 'beforeSearch'); preventDefault() skips the search.
| Name | Signature | Description |
|---|---|---|
text | readonly text: string; | |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |