File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use comparator from rich:column

 
Radu Mircea
Ranch Hand
Posts: 45
  • 0
  • 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 !

Regards,

Radu
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic