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

        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
        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 #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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: