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.
Grid-util add-on: can we have date and time filter
Hellow, thanks for sharing these utilities, they are really good.
One feature my application needs is a filter that allows selecting a date and a time range, for example October 25, 2015, from 11:30 to Novermber 1, 2015, 16:00...
I'll appreciate any help.
Regards,
Reuben Sivan
The all Compare filters can handle Dates too, since they are Comparable. So in order to make a Filter you want you need to create And filter and pass two Compare filters as parameter to its constructor. The other would be Compare.GreaterOrEqual and the other Compare.LessOrEqual. The outcome is a filter that accepts values within that range and applies also to Dates.