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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Filter Compare.Equal for two strings
Hi,
I have a scenario where i need to filter the container source to check an object 'currentState' equals to either single or married.
Pls provide a suggestion.
Thank You
Last updated on
On the container you can use the method "addContainerFilter". I think there are some implementations of filters available (--> apidoc).
For your own Filter implementation you just have to implement the interface com.vaadin.data.Container.Filter.
Last updated on
Can try Or(new Compare.Equal(...,...), new Compare.Equal(...,...))
I know that works for SQLContainer
Dana
Last updated on
You cannot reply to this thread.