<kendo:dataSource-filterItem>

The filters which are applied over the data items. By default, no filter is applied.

Example

<kendo:dataSource-filter>
    <kendo:dataSource-filterItem></kendo:dataSource-filterItem>
</kendo:dataSource-filter>

Configuration Attributes

field java.lang.String

The data item field to which the filter operator is applied.

Example

<kendo:dataSource-filterItem field="field">
</kendo:dataSource-filterItem>

logic java.lang.String

The logical operation to use when the filter.filters option is set.The supported values are: "and" or "or".

Example

<kendo:dataSource-filterItem logic="logic">
</kendo:dataSource-filterItem>

operator java.lang.String

The filter operator (comparison).The supported operators are: "eq" (equal to); "neq" (not equal to); "isnull" (is equal to null); "isnotnull" (is not equal to null); "lt" (less than); "lte" (less than or equal to); "gt" (greater than); "gte" (greater than or equal to); "startswith"; "endswith"; "contains"; "doesnotcontain"; "isempty" or "isnotempty". The last five are supported only for string fields.

Example

<kendo:dataSource-filterItem operator="operator">
</kendo:dataSource-filterItem>

value java.lang.Object

The value to which the field is compared. The value has to be of the same type as the field.

Example

<kendo:dataSource-filterItem value="value">
</kendo:dataSource-filterItem>

Event Attributes

operator String

The filter operator (comparison).The supported operators are: "eq" (equal to); "neq" (not equal to); "isnull" (is equal to null); "isnotnull" (is not equal to null); "lt" (less than); "lte" (less than or equal to); "gt" (greater than); "gte" (greater than or equal to); "startswith"; "endswith"; "contains"; "doesnotcontain"; "isempty" or "isnotempty". The last five are supported only for string fields.

Example

<kendo:dataSource-filterItem operator="handle_operator">
</kendo:dataSource-filterItem>
<script>
    function handle_operator(e) {
        // Code to handle the operator event.
    }
</script>

Event Tags

kendo:dataSource-filterItem-operator

The filter operator (comparison).The supported operators are: "eq" (equal to); "neq" (not equal to); "isnull" (is equal to null); "isnotnull" (is not equal to null); "lt" (less than); "lte" (less than or equal to); "gt" (greater than); "gte" (greater than or equal to); "startswith"; "endswith"; "contains"; "doesnotcontain"; "isempty" or "isnotempty". The last five are supported only for string fields.

Example

<kendo:dataSource-filterItem>
    <kendo:dataSource-filterItem-operator>
        <script>
            function(e) {
                // Code to handle the operator event.
            }
        </script>
    </kendo:dataSource-filterItem-operator>
</kendo:dataSource-filterItem>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy