Filtering table records
The primary filtering is done using ES full-text search (_text
). It is always displayed in the header above the table:
This means that the Filter
object is managed by the page/component that contains the <Table
control.
UI Component
A new Filters
component that receives a filters property and renders a textbox for filter._text
.
We will figure out the rest later.
The component needs to fire an onChange
event when filters are modified so that the parent component can handle the updated filters.
Other thoughts
The advanced filtering options need to be easily accessible, but they generally don't match 1-1 to the columns in the table.
Setting basic filters (point-and-click) is one option: it allows for easy filtering for the selected single value per "column".
Another option is to open the filtering dialog from the text search field (like gmail).