Merge "Change the realization of package table, fix the bug GSO-40"
[vnfsdk/refrepo.git] / openo-portal / portal-common / src / main / webapp / common / thirdparty / zTree / api / en / zTreeObj.getChangeCheckedNodes.html
1 <div class="apiDetail">
2 <div>
3         <h2><span>Function()</span><span class="path">zTreeObj.</span>getChangeCheckedNodes</h2>
4         <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
5         <div class="desc">
6                 <p></p>
7                 <div class="longdesc">
8                         <p>Get the collection of nodes which be changed checked status. (Compared with the original data checkedOld) It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
9                         <p class="highlight_red">Please use zTree object to executing the method.</p>
10                 </div>
11         </div>
12         <h3>Function Parameter Descriptions</h3>
13         <div class="desc">
14         <h4><b>Return </b><span>Array(JSON)</span></h4>
15         <p>return the collection of nodes which be changed checked status (Array)</p>
16         <p class="highlight_red">If you need to get the collection of nodes which changed the checked status, when nodes be checked or unchecked, so please set treeNode.checkedOld = treeNode.checked ( for all of the be changed checked status nodes ).</p>
17         </div>
18         <h3>Examples of function</h3>
19         <h4>1. Get the collection of nodes which be changed checked status</h4>
20         <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
21 var nodes = treeObj.getChangeCheckedNodes();
22 </code></pre>
23 </div>
24 </div>