1 Reply Latest reply on Jun 18, 2009 3:13 PM by Nick Belaevski

    customizing the Rich:column  sortBy attribute behavior

    Daniel Knightly Newbie

      I have table with 3 sortable columns. I would like to be able to define the behavior the first time the sort button is clicked. For 1 column I would like it to be ASCENDING on the first click, and for a different column I would like the behaviour to sort DESCENDING on the first click.

      It seems like the behaviour as you click the sorting button is:
      UNSORTED->ASCENDING->DESCENDING->ASCENDING
      if you were to click the button 3 times.

      There doesn't seem to be any way in the tag to change the behavior to:
      UNSORTED->DESCENDING->ASCENDING->DESCENDING for 3 clicks.

      Am I missing something? Is there a way to change this behavior?