vaadin-grid element: one input filter for all columns

211 Views Asked by At

I'm trying to add a external paper-input out fo the vaadin-grid element in order to filter by any column.

For the moment I did not found a good approach for it, any idea for it?

Each answer will be really appreciated .

1

There are 1 best solutions below

5
On BEST ANSWER

Use two way binding

<paper-input type="text" value="{{filterVal}}"></paper-input>
 <vaadin-grid-sorter path="name">Name</vaadin-grid-sorter>
                <vaadin-grid-filter path="name" value="[[filterVal]]">
                </vaadin-grid-filter>