5 Replies Latest reply on May 29, 2008 11:03 AM by Shervin Asgari

    Sorting numbers columns in dataTable

    Kto ToTaki Newbie

      Columns in dataTable with rich:column sortBy="#{object.methodReturningDouble}" and with <h:output value="{object.methodReturningDouble}" />
      sorts data as String and not as Double (numbers) ???.

      In this case 1129 is < then 163 !

      How to setup rich:dataTable, rich:column to sort correctly numbers as numbers ?