# Filter

The Filter portlet allows for customized filter lists and buttons to apply towards other portlets. With this portlet, one can choose from a pre-configured list of values or manually type in a value to send a filter request with the chosen criteria.&#x20;

## General

General data is required for all portlets.

[General configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#general)

## Listeners

The portlet can send the following events:

* OnFilter
* OnRowSelection

<div align="left"><img src="/files/-M8tdRnj9ObMtluZAUDr" alt=""></div>

[Listeners configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#listeners)

## Settings

Choose whether the filter should be displayed horizontally or vertically.

<div align="left"><img src="/files/-M0Ypea3OJJDAEzTAOtF" alt=""></div>

## Filters

Click *New* to add a new filter.

* Name: the text displayed above the filter drop down box

* Parameter: the column or variable name the filter will look for in the listen portlet

* Edit as: the type of filter

  * text: type in free text
  * number: filter for integer number
  * decimal: filter with configurable number of decimals
  * date: fill in date to filter
  * date & time: filters on date and time
  * list of values: gives a drop-down list of values. Select a value to filter

* List of values: the list of values which is to be used (only available when *Edit as* is set to "list of values")

* Precision: number of decimals in the filter (only used for Decimal filter)

<div align="left"><img src="/files/-M0YptDmRghXWeOd2hEa" alt=""></div>

Below is an example of number, text, and list of value filters in use. Note that the filtered columns are indicated in blue in the column header.

![](/files/-M0YPHmMCeAWyxxTSV72)

## Style

Change the header text color and add a header stripe by configuring style.

[Style configuration](/6.12/development/flow-portal-2/portlets/common-configuration.md#style)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/6.12/development/flow-portal-2/portlets/filter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
