-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.0, 8.6.2
-
Security Level: Jimmy
-
None
Steps to Reproduce
run the example, check the checkbox in the col1 header
Current Result
The selection is applied to the model but he UI only updates on newly rendered treeitems
E.g.
when checking first and then open child nodes (child nodes are checked)
vs
open children first, then check checkbox, nothing gets checked
Expected Result
selected nodes should update in the browser when changing the model
Debug Info
Root Cause
https://github.com/zkoss/zk/blob/v8.6.3/zul/src/org/zkoss/zul/AbstractTreeModel.java#L924
Client update is disabled during selectAll
Workaround
invalidate the tree component