A fast and customizable polymer 2.0 component for filtering arrays.
- Automatically detect Attribute types from the
dataarray. - Client side filtering of large arrays
- Flattens
datafor easy viewing as table - Token based filtering of attributes
- Display currently added filters
- Customizable filter components (see section below - types of filters)
- Supports Manual/Auto selection of rows
- If
Autoselected, supports configurable selection Modes- Top - select top
x%of rows - Random - selection random
x%of rows
- Top - select top
| Attribute Type | Component | Component url |
|---|---|---|
| Categorical | paper-tags |
webcomponents.org |
| Numerical | paper-rangle-slider |
webcomponents.org |
| Boolean | paper-toggle-button |
webcomponents.org |
In typical use, just add <data-filter> to the HTML page:
<data-filter data="[]"></data-filter>
Install the component using bower
bower install epiviz/table-filter --save
First, make sure you have the Polymer CLI installed. Then run polymer serve to serve the element locally.