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.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Sort table on a date column, which has converted String values

Vathsalya Sangam
1 decade ago Jan 25, 2012 6:41pm
Steffen Raubvogel
1 decade ago Jan 27, 2012 12:51pm
Vathsalya Sangam
1 decade ago Jan 27, 2012 8:40pm

Thanks. I have tried. The issue was having the date column's type as Object instead of Date. The column type is declared as Object to allow all types of values for columns. So i have to add ItemSorter and implement it's compare() method for date values and use "formatPropertyValue()" method to change the date format..
It works fine now.

Check this out...

Thanks again.