ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-277

AutoSortTable not sorting columns correctly when null values are present

    Details

    • Workaround Exists:
      Yes
    • Workaround Description:
      Set the bean accessor for the row to return a String and return an empty String when the Long is null.

      Description

      For columns with numeric (Long) values, the autoSortTable will not sort properly. For example, I have a column displaying an external system id (Long), but the id may not exist in all cases. In the case the id does not exist, a blank should be displayed. The sorting appears to fail when the value for id is null. It will work correctly when the value is 0, but 0 is not a valid id.

        Activity

          People

          • Assignee:
            Philip Breau
            Reporter:
            Marc Thomson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: