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

Tree selection highlighting not updated on a closed node

XMLWordPrintable

      steps to reproduce

      run the attached example
      click the node 'aaa'

      actual result

      the child node ("aaa-1") is selected correctly in the treemodel (at server side)
      at client side the node remains selected (keeps the z-treeitem-selected style)

      expected result

      node "aaa" should not have the selected style, and when opening it
      the node "aaa-1" should be highlighted as selected

      debug info

      If the node was opened before, there is no problem

      Workaround

      commented out in the example
      #1) call removeFromSelection() before adding the child node
      #2) instead of calling addToSelection call setSelection

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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