Meaningless Drivel is fun!*
The moose likes JSF and the fly likes DataTable Sortby does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "DataTable Sortby does not work" Watch "DataTable Sortby does not work" New topic
Author

DataTable Sortby does not work

Tram mart
Greenhorn

Joined: Sep 20, 2011
Posts: 4
I have seen that this happened to many people, but none of the solutions worked for me. So I will show my code to see if somebody has an idea.

I'm using Primefaces. I have a DataTable and I want to sort the columns. The Sortby feature does not work. When you click on it, it does nothing. Instead, if you write something in the filter and then sort, it works.

OverView.xhtml




OverviewTableBean


Any help is appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DataTable Sortby does not work