ICEfaces
  1. ICEfaces
  2. ICE-11456

ace:dataTable, using a filter facet on a sortable column triggers unwanted sorting

    Details

    • Support Case References:
    • Workaround Description:
      Hide
      Disable clickable header sorting on the table ('clickableHeaderSorting="false") and add onclick="event.stopPropagation();" to the element or component container inside the filter facet. If there's no container for all the menu content, just wrap everything inside a div element and add the onclick event to prevent clicks from bubbling up.
      Show
      Disable clickable header sorting on the table ('clickableHeaderSorting="false") and add onclick="event.stopPropagation();" to the element or component container inside the filter facet. If there's no container for all the menu content, just wrap everything inside a div element and add the onclick event to prevent clicks from bubbling up.

      Description

      When a column in an ace:dataTable has a filter facet, so that a drop-down menu is rendered, and that sane column has sorting enabled, clicking on the drop-down menu button and on the menu itself triggers sort unwanted sort operations. Note that this only occurs when clickable header sorting in enabled. These features should work independently from each other.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52953 Mon Apr 29 12:00:44 MDT 2019 art.zambrano ICE-11456 prevent unwanted sorting when interacting with the filter facet
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Hide
        Arturo Zambrano added a comment -

        r52953: fix to prevent unwanted sorting when interacting with the filter facet
        r52954: backport fix to the EE 3.3 maintenance branch

        Show
        Arturo Zambrano added a comment - r52953: fix to prevent unwanted sorting when interacting with the filter facet r52954: backport fix to the EE 3.3 maintenance branch
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Fix Version/s EE-4.3.0.GA_P01 [ 13280 ]
        Judy Guglielmin made changes -
        Support Case References Support CAse 14459:- https://icesoft.my.salesforce.com/5000g000024s6zL?srPos=0&srKp=500
        Hide
        Judy Guglielmin added a comment -

        CLient is using 4.2.0-EE, so this should be fix version of 4.3. next release.

        Show
        Judy Guglielmin added a comment - CLient is using 4.2.0-EE, so this should be fix version of 4.3. next release.
        Judy Guglielmin made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Judy Guglielmin added a comment -

        did not see 4.3.0.GA_P01 as fix version first time. Thanks

        Show
        Judy Guglielmin added a comment - did not see 4.3.0.GA_P01 as fix version first time. Thanks
        Judy Guglielmin made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52982 Tue May 28 10:05:09 MDT 2019 art.zambrano ICE-11456 added missing line of code that was required for the fix to be complete
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.css
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52986 Tue May 28 11:22:10 MDT 2019 art.zambrano ICE-11456 (undo unintended commits)
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.css
        Hide
        Arturo Zambrano added a comment -

        Added missing line of code that was required for the fix to be complete in all cases.
        r52982: 4.x trunk
        r52983: EE 3.3 maintenance branch
        r52984: 4.3 P01 tag
        r52985: EE 3.3 P07 tag

        Show
        Arturo Zambrano added a comment - Added missing line of code that was required for the fix to be complete in all cases. r52982: 4.x trunk r52983: EE 3.3 maintenance branch r52984: 4.3 P01 tag r52985: EE 3.3 P07 tag

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: