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

Add a draggable item to tree will cause js error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • Components
    • None

      <zk>
      	<button label="add item">
      		<attribute name="onClick"><![CDATA[
      			Treeitem item = new Treeitem("new");
      			item.setDraggable("true");
      			tc.appendChild(item);
      		]]></attribute>
      	</button>
      	<tree>
      		<treechildren>
      			<treeitem label="item 1" open="false">
      				<treechildren id="tc">
      				
      				</treechildren>
      			</treeitem>
      		</treechildren>
      	</tree>
      </zk>
      

            SimonPai SimonPai
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: