Grid Component - Find

18 Nov 20261 minute to read

Finds and highlights text occurrences in Grid cells without filtering records.

Methods

addEventListener

Adds event listeners for grid events.

Returns void

clearActiveMatch

Clears only the active marker. Other matches stay highlighted and the query is unchanged.

Returns void

clearFind

Clears the query, highlights, count, and active match. Does not change Search, filter, sort, or selection.

Returns void

find

Sets the query and highlights its matches without filtering records.

Parameter Type Description
searchString string Text to search for

Returns void

findNext

Moves to the next match, wrapping from the last match to the first.

Returns void

findPrevious

Moves to the previous match, wrapping from the first match to the last.

Returns void

getActiveMatch

Returns the active match, or null when none is active.

Returns FindMatch

getTotalMatches

Returns the number of occurrences in the supported client-enumerable result set.

Returns number

goToMatch

Activates the 1-based match. Invalid values leave the active result unchanged.

Parameter Type Description
matchNumber number 1-based match number.

Returns void

removeEventListener

Removes event listeners for grid events.

Returns void