<kendo:filter-field>

The 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.

Example

<kendo:filter-fields>
    <kendo:filter-field></kendo:filter-field>
</kendo:filter-fields>

Configuration Attributes

defaultValue java.lang.Object

A value which will be initially set as a filter value when an expression item for the specific field is created.

Example

<kendo:filter-field defaultValue="defaultValue">
</kendo:filter-field>

editorTemplate java.lang.String

The template which the widget will use to create the field editor.

Example

<kendo:filter-field editorTemplate="editorTemplate">
</kendo:filter-field>

label java.lang.String

Defines a value which will be visualized instead of the data feild name.

Example

<kendo:filter-field label="label">
</kendo:filter-field>

name java.lang.String

A value matching a field name from the datasource model.

Example

<kendo:filter-field name="name">
</kendo:filter-field>

previewFormat java.lang.String

The format of the value displayed in the preview.

Example

<kendo:filter-field previewFormat="previewFormat">
</kendo:filter-field>

type java.lang.String

Defines the value type of the field.The available dataType options are: * "string" * "number" * "boolean" * "date"

Example

<kendo:filter-field type="type">
</kendo:filter-field>

Event Attributes

editorTemplate String

The template which the widget will use to create the field editor.

Example

<kendo:filter-field editorTemplate="handle_editorTemplate">
</kendo:filter-field>
<script>
    function handle_editorTemplate(e) {
        // Code to handle the editorTemplate event.
    }
</script>

Event Tags

kendo:filter-field-editorTemplate

The template which the widget will use to create the field editor.

Example

<kendo:filter-field>
    <kendo:filter-field-editorTemplate>
        <script>
            function(e) {
                // Code to handle the editorTemplate event.
            }
        </script>
    </kendo:filter-field-editorTemplate>
</kendo:filter-field>
In this article
Not finding the help you need?