0 Replies Latest reply on Jun 2, 2008 4:19 AM by ozgur bilir

    rich:datatable sort with sql statement

    ozgur bilir Newbie

      Hello pals,

      I have a page that has a paginating with sql. I`ve extended DataModel
      (by adding page numbers to the sql like where rownum between 1 and 10)

      I want to do the same for sorting.
      (like adding my sql order by city_code)

      how can I do that?

      here is my code

      http://netload.in/datei127519b9cf6a7ef12928e62f574bee33/RichFacesTemplate.war.htm