layout | group | subgroup | title | menu_title | menu_node | menu_order | github_link | redirect_from |
---|---|---|---|---|---|---|---|---|
default |
UI Library |
C_Listing/Grid Secondary Components |
Filter Component |
Filter Component |
1 |
ui-components/ui-secondary-filter.md |
/guides/v2.0/ui-library/ui-secondary-filter.html |
The filter component must be declared as a child to the listing component. All column filters are declared as children to the filter component.
The filter component is responsible for rendering filters UI and applying filtering criteria to collection.
Currently the following filter types are supported:
- input filter
- date filter
- select filter
- range filter
Example:
<your module root dir>/Magento/Cms/view/adminhtml/ui_component/cms_page_listing.xml
{% highlight xml %}
params.filters page_id ID ... ... ... ... ... ... ... ... ... {% endhighlight %}