*
The moose likes JSF and the fly likes How to get the sorted column in a datatable? 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 "How to get the sorted column in a datatable?" Watch "How to get the sorted column in a datatable?" New topic
Author

How to get the sorted column in a datatable?

Ziyang Zhang
Ranch Hand

Joined: Jul 17, 2010
Posts: 47
I use sortby in rich:datatable.

How could I get the name of current sorted column in the back beans?

Thanks a lot.

Ziyang


Enjoy life!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get the sorted column in a datatable?
 
Similar Threads
JTable set up default auto-sorted column
Return row # for ranking in Hibernate SQL
Radio Button
how to use spaced column names in hibernate orderby mapping xml
How to do sorting