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

replace listcells causes checkmark clicking doesn't send onSelect event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.6.0.1
    • Fix Version/s: 9.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:

      Description

      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

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: