Filter
Configure rules to filter data. Filter can connect to a Table component and dynamically filter displayed data.
Properties
Available properties for Filter with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
The current value.
Whether the component is visible.
Whether the component is linked to a Table component.
The ID of the table to which this component is linked.
Whether the component takes up space on the canvas if hidden
is true
.
The amount of margin to render outside of the component.
Whether the component remains visible in the editor if hidden
is true
.
The text to display in a tooltip on hover or focus.
Methods
Methods for interacting with Filter. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Clear the current value.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.
Reset value
to the default value.
Set the current value.