WarUI

Toolbar Quick Search

GRID-A22-F08P0baselinePlanned

A search box in the toolbar filters rows across all searchable columns, with debouncing, match highlighting, and a clear button. Quick search is the fastest way to find a record, and users expect it in any data table.

Planned. This page shows the specification from issue #202. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A 10,000-row city dataset with an empty search box.

Expected behavior

Rows filter after the debounce delay and matches are highlighted. The status bar's filtered count updates. Clearing the search with Escape or the clear button restores all rows.

Planned API surface

toolbar item 'search'gridOptions.quickSearch{debounceMs,matchMode,highlight,placeholder}columnDefs[].searchablecolumnDefs[].getSearchTextapi.setQuickSearch(text)onQuickSearchChange

Acceptance criteria

  • Search is case-insensitive and ignores diacritics by default. (pending)
  • In all-terms mode a row matches only if every whitespace-separated term matches. (pending)
  • Columns with searchable:false are ignored. (pending)
  • Search combines with column filters using AND. (pending)
  • The api.setQuickSearch value is reflected in the search input. (pending)
  • With highlighting on, matches are wrapped in mark elements and cell text is otherwise unchanged. (pending)