ICEfaces
  1. ICEfaces
  2. ICE-9106

ace:tableConfigPanel - Add a "Restore Defaults" convenience button

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P3
    • Salesforce Case Reference:

      Description

      Feature Request: Add a button to the ace:tableConfigPanel which will reset any of the sort priorities that had been added to the panel.

        Activity

        Hide
        Ken Fyten added a comment - - edited

        Note that this can already be achieved by clicking on the sort arrows while holding the Ctrl/Cmd key. Ctrl-click once = sort ASC, click again = sort DESC, click a third time = clear sort for that column.

        To see this working on Windows machines will require ICE-9104 to be fixed first.

        Show
        Ken Fyten added a comment - - edited Note that this can already be achieved by clicking on the sort arrows while holding the Ctrl/Cmd key. Ctrl-click once = sort ASC, click again = sort DESC, click a third time = clear sort for that column. To see this working on Windows machines will require ICE-9104 to be fixed first.
        Hide
        Nils Lundquist added a comment - - edited

        Note that it is impossible to restore the labels of the Columns - once they've been changed - they're changed in the component tree.

        There is no way to know what the "default" label is. We can assume the default visible state is true, that the default sort state is none, and that the default ordering is whatever is in the component tree. (The column ordering does not reorder columns in the component tree.)

        This button will only reset all columns to visible, remove all sorting and reset ordering.

        Show
        Nils Lundquist added a comment - - edited Note that it is impossible to restore the labels of the Columns - once they've been changed - they're changed in the component tree. There is no way to know what the "default" label is. We can assume the default visible state is true, that the default sort state is none, and that the default ordering is whatever is in the component tree. (The column ordering does not reorder columns in the component tree.) This button will only reset all columns to visible, remove all sorting and reset ordering.
        Hide
        Nils Lundquist added a comment -

        Revision #35638
        Committed by nils.lundquist
        Moments ago
        ICE-9106 - Added clear configuration button to TableConfigPanel.

        Show
        Nils Lundquist added a comment - Revision #35638 Committed by nils.lundquist Moments ago ICE-9106 - Added clear configuration button to TableConfigPanel.
        Hide
        Ken Fyten added a comment -

        Note that the trash/reset function must respect the configuration of the TableConfigPanel such that it should only reset those aspects that have been made user-configurable, and not those that are not user-configurable to avoid allowing the user to reset aspects that the application wants locked.

        Show
        Ken Fyten added a comment - Note that the trash/reset function must respect the configuration of the TableConfigPanel such that it should only reset those aspects that have been made user-configurable, and not those that are not user-configurable to avoid allowing the user to reset aspects that the application wants locked.
        Hide
        Nils Lundquist added a comment -

        The above functionality has been added along with TLD.

        Show
        Nils Lundquist added a comment - The above functionality has been added along with TLD.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: