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.
ContainerFilter filter with "OR" kind of behaviour
Hello,
I am implementing a table with a filterable bar. This bar can be used to search for an item from table which can exist in any of the column.
That means, if the value exist in one of the column it will added to the result set.
Can I have this kind of implementation.?
Thanks
Try this:
addContainerFilter(
new OR(
new Like ( column1Property , "search value" , false ) ,
new Like ( column2Property , "search value" , false )));
Could even put this in your TextFields TextChangeListener(...) so the filters will happen in real time as they type.
Hope that helps
Dana