FilterFieldTagHelper
Example
Razor
<filter-field>
</filter-field>
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | A value matching a field name from the datasource model. |
| default-value | Object | A value which will be initially set as a filter value when an expression item for the specific field is created. |
| editor-template | String | The template which the widget will use to create the field editor. |
| editor-template-handler | String | The template which the widget will use to create the field editor. This option expects the name of a JavaScript function that will be called to return the template. |
| editor-template-id | String | The template which the widget will use to create the field editor. This option expects the ID of the script element that contains the template. |
| editor-template-view | IHtmlContent | The template which the widget will use to create the field editor. This option expects the instance containing the created HTML. |
| label | String | Defines a value which will be visualized instead of the data feild name. |
| preview-format | String | The format of the value displayed in the preview. |
| type | String | Defines the value type of the field.The available dataType options are: * "string" * "number" * "boolean" * "date" |