File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sorting data table problem
 
Similar Threads
Address Book Sort by Ascending & Descending order
Sorting problem using CompareTo
Problem with column sort in myFaces dataTable
Sorting the Rows in a JTable Component Based on a Column
determine the input type of the value of the function parameter map