*
The moose likes JSF and the fly likes Sorting data table problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Sorting data table problem" Watch "Sorting data table problem" New topic
Author

Sorting data table problem

Hemanth Pillai
Greenhorn

Joined: Dec 14, 2005
Posts: 3
Hi,
I am trying to add sort functionality to the datatable to display a list of employees. And the results are in an object of ResultDataModel. When I am trying to sort using Collections.sort(dataModel.getRowData(), comparator); the compiler throws an error saying sort function is not available. Can any one please guide me in getting rid of the error. Appreciate any help.

Please find the code below.


Thanks
Hemanth
 
jQuery in Action, 2nd edition
 
subject: Sorting data table problem
 
Similar Threads
determine the input type of the value of the function parameter map
Address Book Sort by Ascending & Descending order
Problem with column sort in myFaces dataTable
Sorting problem using CompareTo
Sorting the Rows in a JTable Component Based on a Column