3 Replies Latest reply on Aug 19, 2011 9:32 AM by h2g2

    How to use comparator from rich:column

    radu radu Novice

      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