Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use comparator from rich:column  RSS feed

Radu Mircea
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!