File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sorting data table problem

 
Hemanth Pillai
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic