# External Filtering

The Kendo UI for Vue Grid data can be filtered using the [Filter](https://www.telerik.com/kendo-vue-ui-develop/components/datatools/filter) component or other external tool.

To filter the data, use the [`filterBy`](https://www.telerik.com/kendo-vue-ui-develop/components/dataquery/api/filterby) method from the `kendo-data-query` utility package. It accepts two parameters:

* The array to be filtered.
* The filters to be applied, passed as a [`CompositeFilterDescriptor`](https://www.telerik.com/kendo-vue-ui-develop/components/dataquery/api/compositefilterdescriptor) object.

## Using the Filter component

The [`Filter`](https://www.telerik.com/kendo-vue-ui-develop/components/datatools/filter) component has an UI that is suitable for external filtering. It allows the user to enter the desired filter and constructs the ready-to-use [`CompositeFilterDescriptor`](https://www.telerik.com/kendo-vue-ui-develop/components/dataquery/api/compositefilterdescriptor) filter expression as a value.

The following example demonstrates how to implement external data filtering using a standalone Filter component, which accepts field definitions and returns a composite filter descriptor object for application in the Grid.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/grid/filtering/external/source.txt)

## Suggested Links

* [API Reference of the Grid](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api/gridprops)
* [API Index of the Grid](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api)
