Fields
configurationThe configuration of the filter fields. An array of JavaScript objects that hold information regarding the filter field, it's editor, default values used for filter and etc.
fields
Arrayfields.defaultValue
ObjectA value which will be initially set as a filter value when an expression item for the specific field is created.
fields.editorTemplate
String|FunctionThe template which the widget will use to create the field editor.
fields.label
StringDefines a value which will be visualized instead of the data feild name.
Note: By default if a value is not provided the data field name will be used.
fields.name
StringA value matching a field name from the datasource model.
fields.operators
ObjectThe text of the filter operators displayed for the current field.
fields.previewFormat
StringThe format of the value displayed in the preview.
fields.type
StringDefines the value type of the field.
Note: By default if a value is not provided the type will be string.
The available dataType options are:
"string""number""boolean""date"