import { Property, ChildProperty } from '@syncfusion/ej2-base';import { SearchHierarchyMode } from '../base/enum'; /** * Interface for a class SearchSettings */ export interface SearchSettingsModel { /** * Specifies the columns to be searched at initial rendering of the Gantt. * You can also get the columns that were currently filtered. * * @default [] */ fields?: string[]; /** * If `ignoreCase` set to true, then search ignores the diacritic characters or accents while filtering. * * @default false */ ignoreCase?: boolean; /** * 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.
* * @default 'contains' */ operator?: string; /** * A key word for searching the Gantt content. */ key?: string; /** * 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. * * @default Parent * @isEnumeration true * @asptype SearchHierarchyMode */ hierarchyMode?: SearchHierarchyMode; }