aspose 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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