This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "DataTable Sortby does not work" Watch "DataTable Sortby does not work" New topic

DataTable Sortby does not work

Tram mart

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.



Any help is appreciated.
Consider Paul's rocket mass heater.
subject: DataTable Sortby does not work
Similar Threads
Datatable with column checkbox - Row Select
JSF : commandButton in dynamically loaded <ui:include> page doesn't work
Selected Row in primefaces
Issues with scope: JSF-Primefaces
Get the selected row in datatable [PRIMEFACES]