GeeCON Prague 2014*
The moose likes JSF and the fly likes How to use comparator from rich:column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
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
 
GeeCON Prague 2014
 
subject: How to use comparator from rich:column