aspose file tools
The moose likes JSF and the fly likes How to use comparator from rich:column Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to use comparator from rich:column" Watch "How to use comparator from rich:column" New topic
Author

How to use comparator from rich:column

Radu Mircea
Ranch Hand

Joined: Jun 14, 2009
Posts: 45
Hi ,

I am trying to implement sorting between two colums the behavior is something like when values from first column are equal then sort after second column. I was trying to do this using sortPriority but this affect GUI behavior when user clicks on a header column's if the priority is not the biggest one the sort is not done, this is not ok...Could i achive the same "negative" (in my case) behavior if i use comparator ?

Please if you know some examples where this property is used.... give me a hand !

Regards,

Radu
 
I agree. Here's the link: http://jrebel.com/download
 
subject: How to use comparator from rich:column
 
Similar Threads
Sorting name problem
Sorting problem using CompareTo
A little help would b appreciate for creating binary search tree
Sorting data table problem
TableSorter and Selection gives problems