Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4059

Add option to keep menupopup=auto open after setting column visibility

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.6.0
    • Fix Version/s: 8.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Currently:
      http://zkfiddle.org/sample/1qrjr0g/1-zk-menupopup-auto

      run fiddle
      1- click on down arrow in header to show the menupopup="auto" popup
      2- hide a column

      Debug info:
      The menupopup automatically closes when hiding (or showing) a column.
      At least 3 trigger close on popup.

      • zul.mesh.ColumnMenuWidget._onColVisi()
      • zul.menu.Menuitem.doClick_()
      • hiding / showing columns trigger a redrawing of the headers. Since the headers are redrawn, any popup attached to the header a also destroyed. (setVisible > updateMesh > rerender > unbind > close)

        Attachments

          Activity

            People

            • Assignee:
              Leon03 Leon03
              Reporter:
              MDuchemin MDuchemin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 2 days, 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 2 days, 4 hours Remaining Estimate - 4 hours
                2d 4h