--- title: "Filtering | Features" description: "Easily add filtering capabilities to your grid with default or custom filtering settings." url: https://www.zinggrid.com/docs/features/filtering --- ```text experiment_id: web-retrieval-v1 fixture_id: /docs/features/filtering.md mode: provenance representation: markdown origin_response_id: bb0ea22ea1169c585c997e7219d09aed version: 2026-10-21 version_created_at_utc: 2026-10-21T20:42:35.688Z version_nonce: cec0ddc4b17ab9b9489e741a98753b8e generated_at_utc: 2026-11-01T12:30:02.644Z response_nonce: 07f341456d979cf2590a3b777ac873c8 ``` # Filtering Easily enable filtering on your grid by setting the `filter` attribute on your `` tag. ## Default Filter Settings Once you add the `filter` attribute, filter buttons will appear on each head cell to make each column filterable. Click the button to open up a menu to specify filter conditions to apply to the grid. [Example code](https://app.zingsoft.com/demos/embed/CK5YK7SD) ## Additional Filter Settings The default filter is set up to apply a filter condition through the menu. For more menu filtering options, check our the [Filtering Advanced Docs](https://www.zinggrid.com/docs/features/filtering-advanced). Additionally, the grid supports inline filtering. Enable this by setting `filter` to "inline". This will include filter fields under each head cell. Or enable both menu and inline filter by setting `filter` to "both". [Example code](https://app.zingsoft.com/demos/embed/4HCRN4FI) ## Filter Type Defining `` types will adjust the filter to the corresponding input type. Usually, the default column type is text. For example, setting `[type="select"]` on the "Genre" column updates the inline filter with a dropdown list of filtering options. Another example is setting `[type="number"]` on the "Year" column. The filter menu will now include filter conditions specifically for number types: - Greater Than - Greater Than or Equal To - Less Than - Less Than or Equal To - Between - Not Between ```html ``` [Example code](https://app.zingsoft.com/demos/embed/Z3TMV34H) ## Define Column Filter Filters can be set at the column level. An additional `filter` option supported is "disabled" (`[filter="menu" | "inline" | "both" | "disabled"]`). You can remove a column filter by defining the `[filter="disabled"]` attribute on specific columns, like so: ```html ``` [Example code](https://app.zingsoft.com/demos/embed/W2DQXURA) ## Card Mode Filtering is also supported in card mode. A filter menu button is added to the control bar. Clicking this button opens a menu similar to the filter menu in row mode, but includes a `