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

Listbox allows selection with checkable="false"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.0
    • 7.0.3
    • ZK Client Engine
    • Security Level: Jean
    • All browsers, Tomcat 7

    • ZK 8.0.1

      Steps to Reproduce : Case 1

      Demo here:
      http://zkfiddle.org/sample/3c3tr14/1-listbox-selectall-checkable-false

      By ticking the checkbox in the listbox header, all list items are selected, even those with checkable="false".


      Steps to Reproduce : Case 2

      1. run listbox-checkmark.zul
      2. click listhead to select all
      3. scroll down to last item

      Actual Result

      Some items without checkmark are selected.

      Expected

      only items with checkmark are selected.

      Debug Information

      Those items are not fully rendered because of CE ROD, so their isCheckable() returns true before we scroll to render them.

            jumperchen jumperchen
            CJahn CJahn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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