@syncfusion/ej2-gantt
Version:
Essential JS 2 Gantt Component
50 lines (49 loc) • 1.7 kB
TypeScript
import { ChildProperty } from '@syncfusion/ej2-base';
import { PredicateModel, ICustomOptr } from '@syncfusion/ej2-grids';
import { FilterType, FilterHierarchyMode } from '../base/enum';
/**
* Configures the filtering behavior of the Gantt.
*/
export declare class FilterSettings extends ChildProperty<FilterSettings> {
/**
* Specifies the columns to be filtered at initial rendering of the Gantt.
* You can also get the columns that were currently filtered.
*
* @default []
*/
columns: PredicateModel[];
/**
* Defines filter type of Gantt.
* * `Menu` - Enables menu filters in Grid.
*
* @default Menu
* @isenumeration true
* @asptype FilterType
*/
type: FilterType;
/**
* The `operators` is used to override the default operators in filter menu. This should be defined by type wise
* (string, number, date and boolean). Based on the column type, this customize operator list will render in filter menu.
*
* @default null
*/
operators: ICustomOptr;
/**
* If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.
*
* @default false
*/
ignoreAccent: boolean;
/**
* Defines the filter types. The available options are,
* `Parent`: Shows the filtered record with parent record.
* `Child`: Shows the filtered record with child record.
* `Both` : shows the filtered record with both parent and child record.
* `None` : Shows only filtered record.
*
* @default Parent
* @isEnumeration true
* @asptype FilterHierarchyMode
*/
hierarchyMode: FilterHierarchyMode;
}