<thead><tr><td>clickFlag</td><tdtitle="Whether to allow multi-select">selectedMulti</td><tdtitle="Whether to press Ctrl-key">autoCancelSelected<br/>&&<br/>event.ctrlKey</td><tdtitle="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
<thead><tr><td>clickFlag</td><tdtitle="Whether to allow multi-select">selectedMulti</td><tdtitle="Whether to press Ctrl-key or Cmd-key">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><tdtitle="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
<tbody>
<tbody>
<tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
<thead><tr><td>clickFlag</td><tdtitle="Whether to allow multi-select">selectedMulti</td><tdtitle="Whether to press Ctrl-key">autoCancelSelected<br/>&&<br/>event.ctrlKey</td><tdtitle="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
<thead><tr><td>clickFlag</td><tdtitle="Whether to allow multi-select">selectedMulti</td><tdtitle="Whether to press Ctrl-key or Cmd-key">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><tdtitle="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
<tbody>
<tbody>
<tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
<tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
<p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key can copy node, don't press Ctrl-Key can move node.</p>
<p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.</p>
<p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
<p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
<p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
<p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
<p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
<p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
<p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key can copy node, don't press Ctrl-Key can move node.</p>
<p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.</p>
<p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
<p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
<p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
<p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
<p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
<p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
<li>Use 'beforeClick / onClick' callback function can be achieved with the click on the various functions. This simple demo shows how to monitor the click event.</li>
<li>Use 'beforeClick / onClick' callback function can be achieved with the click on the various functions. This simple demo shows how to monitor the click event.</li>
<li><p><spanclass="highlight_red">Try pressing the <b>Ctrl</b> key for multi-node selection and deselection.</span><br/>
<li><p><spanclass="highlight_red">Try pressing the <b>Ctrl</b>or <b>Cmd</b>key for multi-node selection and deselection.</span><br/>