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

        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
        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.
        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
        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: