FilterExpression
Represents the FilterExpression interface.
Definition
Package:@progress/kendo-angular-filter
Properties
Specifies the user-defined filter editor type that will be used.
The available options are 'string', 'number', 'boolean', and 'date'.
editorFormat?
string | DateFormat | NumberFormat
Specifies the user-defined filter editor format that will be used.
See the Filter editor formats documentation.
editorTemplate?
TemplateRef<any>
Specifies a template for the expression value editor input.
field
string
Specifies the field that will be used by the user-defined filter.
Specifies the operators that will be available in the order of providing them. If no operators are provided, default operators are used for each filter type.
The default string operators are:
eq— Is equal toneq— Is not equal toisnull— Is nullisnotnull— Is not nullcontains— Containsdoesnotcontain— Does not containstartswith— Starts withendswith— Ends withisempty— Is emptyisnotempty— Is not empty
The default number and date operators are:
eq— Is equals toneq— Is not equal toisnull— Is nullisnotnull— Is not nullgt— Greater thangte— Greater than or equal tolt— Less thanlte— Less than or equal to
The boolean operator is always set to eq.
operatorTemplate?
TemplateRef<any>
Specifies a custom template for the operator dropdown.
When set, the default operator DropDownList is replaced with the provided template.
The template receives the current FilterDescriptor as implicit context.
title?
string
Specifies the title text that will be displayed by the user-defined filter.
If the title isn't set, the value passed to field is used.