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

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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.6.1
    • 8.6.0
    • None
    • Security Level: Jimmy
    • None

      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)

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

              Created:
              Updated:
              Resolved:

                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