Vue FilterBuilder - customOperations
Configures custom filter operations.
calculateFilterExpression
Specifies a function that returns a filter expression for this custom operation.
A FilterBuilder field's value.
The field's configuration.
A filter expression with filter operations supported by the DataSource.
These operations are: "!", "=", "<>", ">", ">=", "<", "<=", "startswith", "endswith", "contains", "notcontains", "and", "or".
this keyword refers to the custom operation's configuration.See Also
customizeText
Customizes the field value's text representation.
The text to be displayed.
this keyword refers to the custom operation's configuration.dataTypes
Specifies for which data types the operation is available by default.
Define this option to make the custom operation available for all fields of specific data types. You can also make the operation available for an individual field by including the operation's name in the field's filterOperations array.
editorTemplate
Specifies a custom template for the widget used to edit the field value.
| Name | Type | Description |
|---|---|---|
| value | | | |
The editor's value. |
| field |
The field's configuration. |
|
| setValue |
A method that you should call to change the field value after the editor value changes. |
See Also
hasValue
Specifies whether the operation can have a value. If it can, the editor is displayed.
icon
Specifies an icon that represents the operation. Accepts the name of an icon from the built-in icon library, a path to an image, or the CSS class of an icon stored in an external icon library.