Search results

SearchSettingsModel API in Angular TreeGrid API component

Interface for a class SearchSettings

Properties

fields

string[]

Specifies the columns to be searched at initial rendering of the TreeGrid. You can also get the columns that were currently filtered.

hierarchyMode

FilterHierarchyMode

Defines the search hierarchy modes. The available options are,

* Parent :- Shows the searched record with parent record.
* Child :- Shows the searched record with child record.
* Both :- shows the searched record with both parent and child record.
* None :- Shows only the searched record.

ignoreCase

boolean

If ignoreCase set to true, then search ignores the diacritic characters or accents while filtering.

Check the Diacritics filtering.

key

string

A key word for searching the TreeGrid content.

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.