Search results

SearchSettings API in Angular Gantt API component

Configures the searching behavior of the Gantt.

Properties

fields

string[]

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

Defaults to []

hierarchyMode

SearchHierarchyMode

Defines the search types. 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 searched record.

Defaults to Parent

ignoreCase

boolean

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

Defaults to false

key

string

A key word for searching the Gantt 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.

Defaults to ‘contains’