JavaScript/jQuery FilterBuilder - customOperations
Default Value: []
calculateFilterExpression
Type:
Function parameters:
filterValue: any
field:
Return Value:
NOTE
The
this
keyword refers to the custom operation's configuration.See Also
dataTypes
Define this property 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
Type:
Template Data:
Name | Type | Description |
---|---|---|
field |
The field's configuration. |
|
setValue |
A method you should call to change the field value after the editor value changes. |
|
value | | | |
The editor's value. |
icon
Type:
| undefined
Default Value: undefined
This property accepts one of the following:
- The icon's URL
- The icon's name if the icon is from the DevExtreme icon library
- The icon's CSS class if the icon is from an external icon library (see External Icon Libraries)
- The icon in the Base64 format
- The icon in the SVG format. Ensure that the source is reliable.
Feedback