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

replace listcells causes checkmark clicking doesn't send onSelect event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.1
    • 9.6.0.1
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. click the checkmark of the 1st row, it can select the row
      2. click the button of the 2nd row to toggle edit mode
      3. click the checkmar of the 2nd row

      Current Result

      cannot select the 2nd row

      Expected Result

      users can select the 2nd row

      Debug Information

      • in zul.sel.SelectWidget._doItemSelect()
        tg == cm is false
        because the new rendered checkmark DOM is not the same as the checkmark referenced by listbox.

      Workaround

      zk-5038.js

        1. ZK5038VM.java
          0.6 kB
        2. zk-5038.zul
          1 kB
        3. zk-5038.js
          4 kB
        4. MyData.java
          0.4 kB

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: