File

core/data-grid/data-grid.model.ts

Description

Defines an interface for a filter chip object, which represents a filter applied to a column.

Index

Properties

Properties

columnName
columnName: string | SpecialColumnName
Type : string | SpecialColumnName

The name of the column that this filter is applied to.

displayValue
displayValue: string
Type : string

The value that the chip will display in the dropdown.

externalFilterQuery
externalFilterQuery: any
Type : any
Optional

An optional property that holds the form value taken from the column configuration.

filteringConfig
filteringConfig: FormlyColumnFilteringConfig
Type : FormlyColumnFilteringConfig
Optional

An optional property that holds the formly filtering configuration for the column that this filter is applied to.

filterPredicate
filterPredicate: string
Type : string
Optional

An optional property that holds a string to search for.

label
label: string
Type : string
Optional

Optional label that will be displayed if filter chips are separated into multiple groups.

path
path: string[]
Type : string[]
Optional

An optional property that holds the path to the chip value in the externalFilterQuery.

remove
remove: function
Type : function
Optional

An optional function to remove this filter from the column. If not provided will set default removal function that will reduce the external query by removing the object that is resolved by the path set in the FilterChip. The returned object may also include additional properties defined by the FilterChip type as partials.

value
value: any
Type : any

The actual value that the chip will hold. It can be just a string or a more complex object like {id: 123, name: Test, value: test}.

results matching ""

    No results matching ""