Vaadin 8 Grid filtering


I’m trying to do Grid filters for columns with Vaadin 8 like:

But there isn’t methods anymore like:
Grid.getContainerDataSource() or TextField.addTextChangeListener in Vaadin 8 (but those are in Vaadin 7).

Any help to find a new example for Vaadin8 (Google really didn’t gave any) ? or advice how to get the filtering in grid working.

In Vaadin 8 Grids data model is no longer container, but DataProvider instead. Here is the interface spec for the ConfigurableFilterDataProvider.

ListDataProvider implements this interface, further specs about using filtering is found here:

And here is one quite good exampe:
If anybody else is looking the same - but it worked for me quite well.