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

TreeModel selection size is incorrect when tree node is not rendered yet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.7, 7.0.5
    • Fix Version/s: 7.0.6
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 7.0.7

      Description

      Reproducible sample on zkfiddle: http://zkfiddle.org/sample/353rb3u/3-ZK-Tree-selection-problem

      Debug Information:
      In Tree.java line 2541 will clear all selection when curSeldItems size equals 1, which is not correct. It should consider if all the children nodes of treeitem are not in selected status.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h