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

Removing TreeNode in TreeModel will cause wrong tree display in ROD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.9
    • Fix Version/s: 5.0.10
    • Component/s: Components
    • Labels:

      Description

      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>
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: