Filter

Filter

The filter component allows filters to be set on individual columns.

These are all combined with and.

There are the options like >, <, = for numerical, as well as isin etc. for categorical columns. Possible options are given by the meta props.

Constructor

# new Filter()

Example
import dash_express_components as dxc
import plotly.express as px

meta = dxc.get_meta(px.data.gapminder())

dxc.Filter(
  id="filter",
  meta=meta
)

Type Definitions

# propTypes

Properties
Name Type Description
id

The ID used to identify this component in Dash callbacks.

config

The config the user sets in this component.

meta

The metadata this section is based on.

meta_out

The metadata section will create as output.

setProps

Dash-assigned callback that should be called to report property changes to Dash, to make them available for callbacks.