Skip to content

@serenity-is/corelib / GridUtils / addQuickSearch

Function: addQuickSearch()

addQuickSearch(options): QuickSearchInput

Defined in: src/ui/helpers/gridutils.tsx:77

Adds a quick search input to a container and wires it to the given view.

Parameters

options

The quick search options.

beforeSearch?

(args) => void

container

HTMLElement | ArrayLike<HTMLElement>

fields?

QuickSearchField[]

(args) => void

view?

IRemoteView<any>

Returns

QuickSearchInput

The created QuickSearchInput widget.