Datatable set default sort to descending

UI Components for JSF
Post Reply
pvs_phani
Posts: 2
Joined: 13 Sep 2010, 09:29

13 Sep 2010, 09:34

Hi,

I'm using primefaces (2.2) datatable with dynamic=false. I'm using the sortBy attribute to sort my entries. But my requirement is to get the elements sorted in reverse order (desc). Is there an easy way to do this?


pvs_phani
Posts: 2
Joined: 13 Sep 2010, 09:29

19 Sep 2010, 19:21

Thanks for the update

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests