Search results

SearchSettings API in JavaScript Grid API control

Configures the search behavior of the Grid.

Properties

fields

string[]

Specifies the collection of fields included in search operation. By default, bounded columns of the Grid are included.

Defaults to []

ignoreAccent

boolean

If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.

Check the Diacritics filtering.

Defaults to false

ignoreCase

boolean

If ignoreCase is set to false, searches records that match exactly, else searches records that are case insensitive(uppercase and lowercase letters treated the same).

Defaults to true

key

string

Specifies the key value to search Grid records at initial rendering. You can also get the current search key.

Defaults to

operator

string

Defines the operator to search records. The available operators are:

Operator
Description
startswith
Checks whether the string begins with the specified string.
endswith
Checks whether the string ends with the specified string.
contains
Checks whether the string contains the specified string.
equal
Checks whether the string is equal to the specified string.
notequal
Checks for strings not equal to the specified string.

Defaults to ‘contains’