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

Removing TreeNode in TreeModel will cause wrong tree display in ROD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.10
    • 5.0.9
    • Components

      For example

      <window title="Tree Model with ROD" border="normal"
      	apply="org.zkoss.zktest.test2.tree.TreeClickComposer">
      	<tree id="tree" onSelect=""></tree>
      	1. Please <button label="click to setModel" id="btn2"></button>
      	<separator/>
      	2. Please click this button to
      	<button label="remove item3" >
      	<attribute name="onClick">
      		TreeModel model = tree.getModel();
      		((DefaultTreeNode)model.getChild(model.getRoot(), 0)).remove(3);
      	</attribute>
      	</button>
      	<separator/>
      	3. You should's not see open/close icon disappeared.
      </window>
      

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

              Created:
              Updated:
              Resolved: