ICEfaces
  1. ICEfaces
  2. ICE-7611

ace:dataTable - add a way to clear the sort priority of the columns

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.RC1, 3.0.RC2
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1

      Description

      Feature Request: Add a way to clear the sort priority that has been set. This will allow the table to be displayed in its default state. This would be similar to the resetFilters() method.

      Currently the only way to do this successfully is to get a component binding of the ace:column and set the sort priority to null.

        Activity

        Hide
        Nils Lundquist added a comment -

        The customer is expecting the table to remember the order its data model at initialization?

        Without it, even if they "reset" the sort, the data would remain in the last ordering unless reinitalized.

        Show
        Nils Lundquist added a comment - The customer is expecting the table to remember the order its data model at initialization? Without it, even if they "reset" the sort, the data would remain in the last ordering unless reinitalized.
        Hide
        Arran Mccullough added a comment -

        They don't want it to remember it but just be able to clear the sorting so when they refresh the data of the table it will show in the way it is retrieved from the database.

        Show
        Arran Mccullough added a comment - They don't want it to remember it but just be able to clear the sorting so when they refresh the data of the table it will show in the way it is retrieved from the database.
        Hide
        Nils Lundquist added a comment -

        Added resetSorting() to DataTable in r27085

        Show
        Nils Lundquist added a comment - Added resetSorting() to DataTable in r27085

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: