-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
Security Level: Jimmy
-
None
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