Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin 8 Grid filtering
Hi,
I'm trying to do Grid filters for columns with Vaadin 8 like: http://demo.vaadin.com/book-examples-vaadin7/book/#component.grid.filtering
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.
https://vaadin.com/api/8.0.5/com/vaadin/data/provider/ConfigurableFilterDataProvider.html
ListDataProvider implements this interface, further specs about using filtering is found here:
https://vaadin.com/api/8.0.5/com/vaadin/data/provider/ListDataProvider.html
And here is one quite good exampe:
https://stackoverflow.com/questions/42475774/how-to-add-grid-filters-in-vaadin-8
If anybody else is looking the same - but it worked for me quite well.